Send to facebook messenger from secondary trigger

(Ncklrs) #1

I currently have a messenger bot setup - Flow 1. In that bot we capture an email address and send it over to our email marketing platform.

I include the https://messenger.com/t/{{trigger_new_message.user_id}} into a field in the autoresponder system. That data is all passed fine.

I have another flow - Flow 2 - that is triggered via a webhook sent when an action is taken in an email.

That webhook enables me to grab that message.user_id but when I set the up as the Bot Response Path in Flow 2 but I get an error - “Invalid Response Path”

Is this possible to trigger this message?

Or can I take the Webhook action from Flow 2 and send the user back to a Label in Flow 1?

(Daniel Beckett) #2

Hi there,

If you want to message the user from Flow 2 then it’s the response path variable that you want to be passing between flows, e.g. {{trigger_new_message.response_path}}. It sounds like you’ve already got the data being passed between the flows so if you capture the response path from Flow 1 you should be able to use it in Flow 2.

(Ncklrs) #3

Thanks. Now I understand response path so much more. Amazing.