I’m integrating a FlowXO bot into our onboarding flow using an iFrame but would very much like to react to what’s happening using the API.
I read that you can integrate the widget like:
<script src="https://widget.flowxo.com/embed.js" data-fxo-widget="[long code]" async defer></script>
Can you do the same with the bot itself without using the widget?
Something like:
<script src="https://fxo.io/m/[BotID]" async defer></script>
And then the webpage where the bot sits can listen to what’s happening and react accordingly. Specifically I’m looking to show a Stripe Checkout Button. (https://stripe.com/docs/checkout/tutorial)
Any help appreciated.
/Anders