You can use the Small Talk pre-built agent as a template,
exporting the flow of the pre-built as "small-talk-flow" and then
importing it into your custom agent. After doing so, you'll have the
small-talk-flow and related resources available in your new agent.
Now to make the small-talk flow available when you are in other flows you can configure the
Pages of the other flows as follows:
- Click on [Page name] , in Routes > Add Route > Intent select an intent that would trigger the small talk, like "small_talk.greetings.hello" already present in the imported small-talk flow or a custom intent you created to trigger it, such as an intent called "small_talk.trigger" with training phrases like "let's chat", "let's talk", etc.
- Inside the Route, in Transition select Flow > small-talk-flow
- Also, you can do the inverse path and add the trigger intents and transitions to other flows in the small-talk-flow page/pages, so you can call other flows at any point in the small talk.