AI agents
Integrate with other solutions

Integrate with Answers

Use with Answers

Add AI agents to Answers chatbots to enhance chatbot capabilities and simplify creation.

Use the AI agent in a chatbot

In your chatbot, use the Agent connector element to add an AI agent.

  1. Add the Agent connector element from the Apps from Exchange section in the Build side panel.
  2. Configure the element.
    • Provide the input to the element.
    • Save the response from the AI agent in an attribute.
  3. Either return the response to the end user or use it for further processing in your chatbot.

Configure the Agent connector element

Request

Configure the following fields:

Agent ID

Enter the ID of the AI agent.

User message

Specify the end user message that the chatbot received.

Example: Use the lastReceivedTextMessage predefined attribute.

Session ID

Specify the ID of the chatbot session.

Example: Use the sessionId predefined attribute.

End user destination (Optional)

Specify the contact information of the end user.

Example: Use the endUserDestination predefined attribute.

Agent context (Optional)

Select an attribute that contains additional context for the AI agent.

Response

Save responses from the AI agent in attributes.

In the Response tab, complete the following fields:

Save response code to attribute (Optional)

To save response code, do the following:

  1. Create an attribute to save the response code.
  2. Select the attribute in the Save response code to attribute field.
Save response code to attribute

Response body attributes

To save the body of the response, do the following:

  1. Create one or more attributes to save the response body.
  2. Select Add attribute.
  3. In the Attribute field, select the attribute from the list.
  4. In the Path field, enter the path to the attribute. The path is the location of the attribute value in the JSON file hierarchy.
Save response body to attribute

Timeout

Specify how long you want to wait for the response. The minimum value is 1 second and the maximum value is 60 seconds.

Fallback

Configure the fallback to make sure that the end user gets a response from the chatbot even if there is an error.

Use also for API failures

Enable this option to trigger fallback in case of 4xx and 5xx errors.

Next steps

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-2026 Infobip ltd.

Service Terms & ConditionsPrivacy policyTerms of use