Conversations
Conversations setup
Integrations

Integrations

The Integrations settings allow you to extend Conversations with external systems.

Configure custom context cards to display relevant data from third-party sources directly in the agent panel, and connect external chatbots to automate interactions or provide support before routing to an agent.


Custom cards

You can integrate an external application with Conversations to display relevant information to agents during a conversation. This is done by setting up a custom context card, which appears in the conversation panel and shows data pulled from systems like Jira, CRMs, or other tools.

Custom context cards can be configured and styled to match your needs. They provide agents with useful context, such as ticket details or user information, without needing to leave the conversation view.

Learn more about integrating external apps in Conversations and Integrations.

Create a custom context card

To create a custom context card, follow these steps:

  1. Log in to your Infobip account and go to ConversationsSettingsIntegrationsCustom cards.
  2. Select Create context card. Conversations - Custom context card
  3. In the Display context card section, enable the toggle to allow agents to view the context card during conversations.
  4. In the Configuration section, link the context card to an external source by providing the following information:
    1. Method - Choose the HTTP method (GET, POST, PUT, PATCH, or DELETE).
    2. Webhook URL - Enter the endpoint to which the request will be sent. You can include conversation variables in the URL:
      • {{conversation.agentNumber}}
      • {{conversation.agentId}}
      • {{conversation.channel}}
      • {{conversation.conversationId}}
      • {{conversation.customerDisplayName}}
      • {{conversation.customerNumber}}
      • {{conversation.priority}}
      • {{conversation.queueId}}
  5. Ensure you encode any invalid URL characters. Use the Liquid filter: {{ '[email protected]' | url_encode }}
    1. Authorization header - Add any required authentication credentials.
    2. Header - Provide any additional key-value pairs to include in the request header.
    Conversations - Custom context card configuration
  6. In the Edit section, use the Code, Response, and Portal data tabs to enter relevant data.
  7. Select Test to preview how the context card will behave. A live preview appears on the left, showing all changes as you edit.
  8. Once you finish configuring and testing, select Create to save your custom context card. Conversations - Edit custom context card

When you set up the custom context card, agents will see it within the Context cards.

For instance, configuring a Jira custom context card gives agents the choice to either link to an existing Jira issue or create a new one.

Conversations - Example custom context card

External bots

External bots can automate parts of the customer journey while still integrating with Conversations.

When a bot triggers an API endpoint, it allows seamless handoff from automated interactions to live agents.

Conversation history and metadata ensure that agents have full context, so the customer does not need to repeat information when taking over from the bot.

NoteA bot cannot start a conversation. Conversations can be initiated by the end user only.

Set up an external bot

  1. Go to Conversations → Settings → Integrations → External chatbot.
  2. Select Connect chatbot to open the configuration. Conversations - External bot
  3. Copy the UUID from the URL; this will be used as the x-agent-id.
  4. Define the following settings:
    • Bot name - A unique name visible in the bot conversations queue.
    • Bot URL - The endpoint where all inbound customer messages are forwarded until the bot triggers a transfer.
    • Number/page - Any inbound message sent to this number or page is forwarded to the bot.
    • Conversation history - Decide if messages exchanged between the customer and bot are visible to agents when they take over.
    • Session timeout: Define a period after which the bot session expires if no messages are exchanged.
    • (Optional) Authorization header increases data transfer security. This is data that will be sent in the request headers and contains credentials to authenticate communication with a server.
    Conversations - External bot settings

Bot message handling

  • Receiving messages: All inbound messages sent to the bot number are automatically forwarded to the bot URL via a POST HTTP method. If a conversation is ongoing, messages are added to it; otherwise, a new conversation is created.
  • Sending messages: Use the standard Conversations Messaging API (opens in a new tab) with conversationId in the URL path and x-agent-id in the header to send messages from the bot.

Transferring conversation to agents

The conversations can be transferred to agents in two ways:

Conversation metadata

Metadata provides agents with additional context about the conversation when they take over.

For example:

{ "Manufacturer": "Mazda", "Model": "CX-5", "EngineType": "Diesel", "EnginePower": 90.0 }

This ensures continuity, reducing repetitive customer queries and improving the overall support experience.


Need assistance

Explore Infobip Tutorials

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary
Service status

Copyright @ 2006-2025 Infobip ltd.

Service Terms & ConditionsPrivacy policyTerms of use