Adding a bot while retaining the page's default messaging ability

(Vila Vg) #1

Hi there

I have a facebook page that acts as a human-led customer support channel where a visitor can send messages and a page administrator would reply to that message.

Is there a way for a bot to co-exist with this functionality such that one does not interfere with the other? For instance the bot is activated only through a ref parameter and then shows the flows?

(Daniel Beckett) #2

Hi there,

If you’re using a Messenger bot then a referral link could be used. Your flows could then use a filter based on the ref link.

The help page for creating a Facebook Messenger bot has more information on using referral links but as a summary you will need to use the m.me link for your Bot (found by editing your bot) with a ?ref= parameter at the end. E.g. http://m.me/mybot?ref=support

The ref parameter can then be called from Metadata in one of your filters to control the flow.

Hope that helps.

Thanks,
Dan

(Vila Vg) #3

Thanks Daniel, I got this response from the FB Messenger Community. How might achieve the following?

“you’re not obligated to respond to any event you receive as a bot. Just return a 200 OK status, take note of the PSID of the user who sent the referral, and don’t send anything back.”

Please advise …

Thanks!

(Daniel Beckett) #4

Hi Vila,

I’m guessing that message is from the FB Messenger Community? Without further context it’s difficult for me to say for certain what they mean but it sounds similar to the type of things that you can do with our Filtering service which would allow you to trigger a flow based on specific criteria, the refferal link, for example.