Trigger a bot from a flow

(Anish Duggal) #1

Is it possible to trigger a bot from a flow in another bot? Or trigger a flow in another bot from a flow in a different bot?

Thanks

(Daniel Beckett) #2

Hi Anish,

Since each of the bots have their own sessions and rely on things like response paths there’s not really a way to pass users between them without using something like a URL, e.g. the m.me links for Facebook Messenger bots or a shortlink for a Web Messenger bot.

Thanks,
Dan

(Anish Duggal) #3

@DanielBeckett

Thank you. A question and a suggestion.

  1. Is it possible to use a shortcut to trigger a m.me link? Or would I only be able to use a button?

I’m looking to separate a main bot and a live chat bot. I’m using dashbot.io with it’s live chat capabilities for the live chat bot. By separating them the live chat isn’t jumbled up with the main bots marketing and broadcast messages. Also t6he user doesn’t get confused and can go back to the main bot at any time.

Could you please look into FlowXo integration with Dashbot.io they have some fairly cool features and coded integrations that coupled with FlowXo code service and custom request could give FlowXo users some very powerful opportunities. They already have some basic integration with Chatfuel and Dexter.

Thanks

(Daniel Beckett) #4

Hi Anish,

The user would need to perform some kind of action, e.g. click on a shortcut from Bot > Send a Message, click on a link in a card or click on a button in the persistent menu in Facebook Messenger to take them to the m.me link.

As for the Dashbot integration, thanks for the suggestion. I’ll be sure to pass it on to the development team for consideration with future updates.

Thanks,
Dan

(Anish Duggal) #5

Thank,

I just tried an m.me link in a persistent menu button. The call was captured by my catch all and replied with my unknown text reply. Not sure what to do here.

(Daniel Beckett) #6

@Anish

Strange, wasn’t expecting that! Something for us to look into I think.

If you take the m.me link and run it through something like the Google URL Shortener and then use that link in the persistent menu it should work.

Thanks,
Dan

(Anish Duggal) #7

@DanielBeckett

Is there anyway to pause a bot via webhook. I’ve been in touch with the Dashbot team and received the below reply.

I’ve looked into FlowXO a bit more, and it does not appear to have a “pause” webhook — that said, using the codeless integration, you can still send messages as your bot through the Dashbot interface. Would that serve your needs?

Thanks

(Daniel Beckett) #8

@Anish

What would trigger the webhook, something in one of your flows or an external system? I can see it potentially being possible by setting an attribute for an on/off switch and having filters on your triggers to control whether they should run - the only issue here is that a valid response path is needed which you likely wouldn’t have if triggered from an external webhook.

(Anish Duggal) #9

Hi @DanielBeckett,

I have heard back from Dennis at Dashbot and he would like to get in touch with you. What would be the best way for him to do so?

Thanks

Dashbot pause documentation if it helps
https://www.dashbot.io/sdk/pause

(Daniel Beckett) #10

@Anish

There’s only two official contact channels to reach out to the Flow XO support team:

  1. Email support@flowxo.com
  2. Contact support through the Flowbot on the Flow XO website

I’d be happy to answer any questions he has if he’d like to contact me using one of those methods :slight_smile:

(Anish Duggal) #11

Thank you very much @DanielBeckett.