Hope someone can help with this problem I’ve been trying to solve all day.
I am trying to count the number of words returned from the text result of an external API. Then once the words are counted, I want to deduct that amount from the users “Credits”. I also use this text result from the API to update the state of a multi line input.
I’ve tried a couple of the word count plugins and have been close to solving this but neither of the plugins are working as required. An example is here: 🎛 New plugin - theCountable (now free) - #82 by ashley.russell77
My workflow would look something like this:
InputA > Sent to API > Result of API updates state of InputB > Words counted > Change thing (user credits) = credits - words counted.
The Words counted part is what I’m really stuck on right now.
Any suggestions would appreciated.