Speed optimisations

#1

Hi there,

are there any recommendations on how to optimize the speed of a flow? I understand that Google Sheets actions are pretty expensive, but which “native” actions are also time consuming? Are longer flows always slower than short ones? Is the number of words/phrases that a flow is listening out for a major factor? The number of attributes used? Any hint appreciated. Thanks!

(Karen Barker) #2

Hi there,

Generally speaking any action which goes to a 3rd party will have longer response times as there will always be a small delay when using webhooks to go out and back in to another service.

Large numbers of keywords especially if the users message is towards the bottom of the list of keywords will definitely make your flow slower to trigger.

If you have many actions filtered in a flow this could also slow your flow down as there will be time spent processing each action which then doesn’t run.

Alternatively if you are doing multiple native processing tasks e.g. date manipulation, saving attributes etc in between message actions then you’ll also see a slightly longer delay than between sending 2 messages directly after each other.

Long flows in general shouldn’t cause the bot to respond slower, unless as mentioned above many of the actions are perhaps filtered causing delays.

Hope this helps. :slight_smile:

#3

Thank you, Karen, that helps a lot! (Great support by the way. So fast and open to noob questions. ;))

1 Like