Skip to main content

i’m having trouble running multiple automations at the same time and need some help on how to do it or structure it.

 

We have a chatbot on manychats which feeds our crm, so we have multiple triggers such as 

detect city of interest and detect product of interest

 

e.g. if user sends a whatsapp message that contains “X”, a flow of product “X” starts and it stores “X” in a custom field called product of interest. At the same time, if message contains “City Y” in the message, it stores “City Y” in a custom field called “City of interest”.

 

But seems that if message says I’m interested in X in City Y, it runs only 1 automation (not sure how it chooses which to prioritize)

 

Help would be much appreciated.

@alexdubois are you using keywords to trigger the automations?

If that’s the case, then keywords will only trigger the first match on the list (and it scans your keywords list from top to bottom).

I’m pretty sure that you can trigger what you want with the following setup:

  1. Whenever you trigger a keyword or a default reply, set a custom field with the value of the Last Text Input
  2. Setup a rule to trigger whenever the value of the custom field you used changes
  3. You could setup multiple rules, with multiple filters, like this:
  4. If you do this, and you have 2 rules, for Product X and City Y, then both should trigger simultaneously.

 

You’ll have to change your setup a bit, but I’m 99% sure this would work.

Hope this helps :)


Thanks I actually started testing this yesterday. A bit tricky since this will only work in the first message tho, otherwise I’d need to in every automation store the last message sent which would keep overwriting itself. I’ll keep you posted but this is at least a part of the solution.


@alexdubois You could set the Default Reply to trigger every time, so every time the person writes it triggers all relevant rules and automations.