Journey integrations
Use integration elements in Journeys to connect your journeys to Infobip applications, external SIP endpoints, and custom Exchange elements. Transfer chats and calls to agents and Voice AI agents, or send messages to AI agents. Move participants to other journeys and hand over calls to Calls API applications.
Transfer chat to agent [#transfer-chat-to-agent-integrations]
Use this element to transfer the end user to a live agent for text-based chats.
To transfer to an agent through a voice channel, use the Transfer call to agent element.
Configure the element [#transfer-chat-to-agent-integrations-configure]
(Optional) In the side panel of the element, assign conversation tags to do the following:
- Route the journey to the relevant queue in Inbox.
- Inform the agent what the conversation is about. Example: Add a tag, data verification, to indicate that the agent needs to verify the end user's information.
In the All conversation tags section, either create a tag or select one or more tags from the list.
Example [#transfer-chat-to-agent-integrations-example]
For an example of how to use this element, see the Set up an efficient sign up and account verification guide.
Use this element with a call session [#transfer-chat-to-agent-integrations-call-session]
You can use this element with a call (IVR) session as shown in the following example:
-
Use the Play element to ask the end user to choose an option. The end user can wait on the line for an available agent or use a text-based channel such as WhatsApp.
Example:
To have a text-based chat with an agent, select 1. Waiting time is 1 minute.
To talk to an agent over the phone, select 2. Waiting time is 12 minutes.
-
If the end user wants to use a text-based channel, use the Hang up element to end the voice session. Then add the Transfer chat to agent element.
-
If the end user wants to wait for an agent, use the Transfer call to agent element.
Transfer call to agent [#transfer-call-to-agent-integrations]
Use this element to transfer a voice (IVR) call to a live agent in Inbox.
- You can use this element only within an inbound IVR session.
- To transfer to an agent outside an IVR session, that is, for text-based chats, use the Transfer chat to agent element.
When forwarding the call, the system automatically adds contextual information to help agents in Inbox manage the interaction effectively. Example: It includes the channel so that the agents know over which channel the call originated.
Configure the element and use the branches in the element to specify the next steps in the journey.
Configure the element [#transfer-call-to-agent-configure]
In the side panel of the element, configure the following fields:
Call origin
Use this field to provide context about the conversation to the agent. Example: Reschedule the appointment. Inbox displays this information to the agent as a notification.
Select Add call origin and specify the context.
If you do not configure this field, the system uses the journey name as the context.
Conversation tags
(Optional) Assign conversation tags to do the following:
- Route the journey to the relevant queue in Inbox.
- Inform the agent what the conversation is about. Example: Add a tag, data verification, to indicate that the agent needs to verify the end user's information.
In the All conversation tags section, either create a tag or select one or more tags from the list.
Next steps [#transfer-call-to-agent-next-steps]
Use the following branches in the element to manage the next steps.
| Branch | Call session status |
|---|---|
| Call forwarded | Call was forwarded. A call session was successfully established between the end user and the destination. The journey exited the call session. |
| Call not forwarded | The journey was unable to forward the call. A call session was not established between the end user and the destination. The call session continues between the end user and the journey. |
| Call ended | The end user ended the call, or the call ended because of network issues, before the journey forwarded it. |
Transfer call to Voice AI agent [#transfer-call-to-ai-agent-integrations]
Use the Transfer call to Voice AI agent element to hand over an active call from the IVR flow to a real-time AI agent. The Voice AI agent handles the call conversationally, using speech recognition, intent detection, and generative AI.
You can use this element only within an IVR session. It is available for both inbound and outbound calls.
Voice AI agents provide a more natural and flexible experience than IVR systems. They understand free-form speech, interpret intent, and manage complex questions that IVR menus cannot. This enables a conversational experience in which callers speak naturally instead of using predefined IVR options.
When the call reaches this element in the flow, the IVR transfers control to the selected AI agent. After the agent completes its task, the call always returns to the IVR, with information on why the call returned.
For more information, see the AI agents documentation.
Connect to AI agent [#connect-to-ai-agent-integrations]
Use the Connect to AI agent element to send a message and optional context to an AI agent and receive its response. Save the response in journey variables and use it in later steps of the journey.
The Connect to AI agent element calls the AI agent as a step in the journey and does not require an IVR session. The Transfer call to Voice AI agent element, by contrast, hands over an active IVR call to a Voice AI agent.
For more information, see Use an AI agent in a journey.
Transfer to SIP [#transfer-to-sip-integrations]
Use this element to transfer an active call from a journey to an external system over SIP. Route calls to third-party call centers, external voice platforms, or any SIP-capable endpoint outside Infobip infrastructure.
The following image shows the Transfer to SIP element in the IVR flow editor.
You can use this element only within an IVR session.
Prerequisites [#transfer-to-sip-prerequisites]
Set up at least one SIP trunk in the Infobip web interface. Go to Channels and Numbers > Channels > Voice and WebRTC > SIP Trunking to configure your trunks.
Configure the element [#transfer-to-sip-configure]
In the side panel of the element, configure the following fields:
| Field | Description |
|---|---|
| Username | Enter the SIP username for the destination endpoint. |
| SIP trunk ID | Select one of the SIP trunks configured in your account. |
After the call is forwarded to the SIP endpoint, the caller no longer receives content from the current journey. The journey exits the call session.
Next steps [#transfer-to-sip-next-steps]
For each exit branch in the element, configure the next steps.
| Branch | Call session status |
|---|---|
| Call forwarded | The journey forwarded the call to the SIP endpoint. The call session ends. You can only start a different call from this point. |
| No answer | The SIP endpoint did not answer the call. The call session continues between the end user and the journey. |
| Busy | The SIP endpoint returned a busy signal. The call session continues between the end user and the journey. |
| Declined | The SIP endpoint declined the call. The call session continues between the end user and the journey. |
| Call not forwarded | The journey was unable to forward the call to the SIP endpoint. The call session continues between the end user and the journey. |
| Call ended | The end user ended the call, or the call ended because of network issues, before the journey forwarded it. The call session ends. You can only start a different call from this point. |
Example: Voice AI agent with SIP transfer [#transfer-to-sip-example]
Use the Transfer to SIP element together with the Transfer call to Voice AI agent element to combine a Voice AI agent with a SIP transfer. The Voice AI agent handles the conversation first. When a handover is needed, the call transfers to an external system.
To build the flow, do the following:
- Add the Transfer call to Voice AI agent element to your IVR flow.
- On the Transfer to human agent requested branch, add the Transfer to SIP element.
- Configure the Username and SIP trunk ID fields.
- Configure the exit branches for the Transfer to SIP element.
For more information about SIP trunk types and configuration, see SIP trunking. For call routing scenarios, see Call routing.
Transfer call to voice application [#transfer-call-to-voice-application]
Use this element to transfer a voice (IVR) call from a journey to a custom Calls API application. This enables you to manage calls within your application.
You can use this element only within an IVR session.
Prerequisites
Before you use this element, make sure that you have the following:
- A Calls API-based application that receives the transferred IVR call. The application must be able to process application transfer request events.
- A Calls configuration with a unique ID.
Configure the element
In the side panel of the element, configure the following fields:
- Calls configuration ID: Select the Calls configuration ID for the application.
- Custom data (Optional): Use key-value pairs to add custom data, if required. This data is sent to the application.
Next steps
For each exit branch in the element, configure the next steps.
The following table contains the description of each branch.
| Event | Description |
|---|---|
| Call transferred | The journey transferred the IVR call to the application. A call session was successfully established between the end user and the application. The journey exited the call session. |
| Call not transferred | The journey was unable to transfer the IVR call to the application. A call session was not established between the end user and the application. The call session continues between the end user and the journey. There are several possible reasons. Example: The API call failed. |
| Call ended | The end user ended the IVR call, or the call ended because of network issues, before the journey transferred it. |
Test the functionality of the element
To verify the functionality of the Transfer call to voice application element, use a custom webhook. Test the transfer of the call from the journey to the webhook.
Set up your system for the call transfer
To prepare your system, do the following:
- Configure a webhook to which the IVR call needs to be transferred.
- Create a Calls configuration with a unique ID.
- Create a notification profile.
- Use the URL of the webhook.
- Create a subscription.
- Select Voice channel.
- Select the required events.
- Select the notification profile that you created.
Configure the journey
To configure the journey, do the following:
- In the IVR session of your journey, add the Transfer call to voice application element.
- Configure the following fields in the element:
- Calls configuration ID: Select the Calls configuration ID that you created.
- Custom data (Optional): Use key-value pairs to add custom data, if required. This data is sent in the request body to the webhook.
- For each exit branch in the element, configure the next steps.
- Configure the journey as required.
- Activate the journey.
Your webhook receives the call information.
Transfer to journey [#add-to-journey-integrations]
The Transfer to journey element sends a person to a different, secondary journey. Use this element to create modular journeys, which split complex journeys into smaller, more manageable ones. For more information, see Benefits of modular journeys.
Each journey has a limit of 100 elements. If your journey exceeds this limit, split it into multiple modular journeys.
Prerequisites [#transfer-to-journey-prerequisites]
Before you add this element, complete the following tasks:
- Create all the journeys you want to connect.
- Ensure each secondary journey has an Existing journey entry point configured. Only journeys with this entry point are available to select in the element.
Element behavior [#transfer-to-journey-behavior]
The behavior depends on where you place the element in the journey.
| Placement | What happens |
|---|---|
| Just before the exit element | The person exits the primary journey and enters the secondary journey only. |
| At an earlier step in the journey | The person continues in both the primary and secondary journeys simultaneously. |
Configure the element [#transfer-to-journey-configure]
When you configure the element, use the following options:
- Pass variables: You can pass variables and their values from the primary journey to the secondary journey. This ensures that corresponding placeholder data is available as the person moves between journeys.
- Add a failover branch: Include a failover branch in the In all other cases condition. This branch handles cases where the transfer fails and enables the person to continue. Example: The transfer fails because the secondary journey is in draft or has been canceled.
Secondary journey participants [#secondary-journey-participants-integrations]
By default, the person passing through the Transfer to journey element also enters the secondary journey. They participate in both the primary and secondary journeys until they exit.
You can also configure the element so that a different person enters the secondary journey based on their contact information. To do so, enable Add another participant when you configure the element. Then define the primary contact information (phone number or email) for this participant. Match it to a journey variable or to a standard or custom attribute of the person in the journey.
The result depends on whether the participant exists in Customer Profiles:
- Participant exists: The journey starts for the person identified by their contact information, and the journey updates any attributes it references.
- Participant does not exist: The journey creates a person profile and assigns the attribute values to the profile.
One use case for this is a referral program. Example: Ask a person to share a friend's email over Messenger. Parse the email from the inbound message and save it in a variable. Then use the Transfer to journey element to start a journey for the friend using the email extracted from the variable. To meet data requirements for your region, make sure that the friend opts in.
Custom Exchange elements [#custom-exchange-elements-integrations]
Create custom elements in Exchange and use them in your journey to extend what the journey can do.
Example: Create a custom element to integrate your journey with third-party systems. Call third-party APIs and personalize the journey based on the response.
Configure the element once and reuse it across multiple communications.
The following are examples of use cases:
- Integrate your journey with a webinar platform to automatically register the end user for meetings.
- Connect your journey with a generative AI platform to generate personalized content within the journey.
- Connect your journey to your CRM to transfer data or add profiles to specific groups.
For more information, see the Developing with Infobip documentation.
Was this page helpful?