How to Create Tickets With Agents Automatically

February 25, 2025

Creating tickets automatically with AI agents is easy using the Send API Request action. This feature allows you to send data via a POST request to create tickets in your ticketing system based on issues reported by users. By setting up actions for your agents, you can streamline the process of generating tickets without manual input. This automation helps agents provide faster and more efficient support, improving the experience for both your team and users.


To set up an action that lets your agent create a ticket based on user interactions, follow these steps::

  1. In AI Agent Builder, click on the Train tab.
  2. Then, click on the Actions tab in the menu on the left side of the page.
  3. In the Actions section on the right, click on the When dropdown to select and define a condition that will trigger your agent to send data to your designated ticketing system’s API endpoint through an API request. If your AI Agent already has a saved action, click on the Add New Action button at the top first.
Condition options in the When dropdown of the Actions section in the Train tab of the Jotform AI Agent Builder

Note

You can also type a custom condition in the dropdown and click on the Add button on the right to create one that isn’t in the list of available conditions.

  1. Next, choose the Send API Request option from the Do dropdown.
  2. Then, select POST method from the API dropdown and enter the API endpoint in the input box next to it. You can also enable and configure the following:
    • Headers — Enter any required API headers, such as Authentication Tokens, Content-Type, etc. This accepts key-value pairs.
    • Request Data — Specify the data fields to send in the API, such as the ticket title and description of the issue to be included in the ticket. You can enter a key and a value that can be static or generated from the conversation with the agent.
    • Response Message — This is enabled by default. Its the message your agent will show to the user after the action is completed.
  3. Once everything is set, click on the Save button.
Send API Request action in the Do dropdown of the Actions section in the Train tab of the Jotform AI Agent Builder

Note

You may need to contact your IT team, development team, or the person responsible for managing your ticketing system to get the necessary API details or assistance with setting up this action.

The Plus Sign icon on the right of the condition and action in the Actions section allows you to define additional instructions for your agent within a single action. You can add multiple conditions and choose whether ANY or ALL need to be met to perform the action. Multiple actions can also be added, and they will be performed simultaneously when the condition is met. For more details on each available predefined condition and action, see How to Customize Agent Actions and Triggers.

Add action and condition buttons of the Actions section in the Train tab of the Jotform AI Agent Builder

Toggle the Preview switch in the top-right corner of the page to On to test new actions you added.

Testing create ticket action in the Preview page of the Jotform AI Agent Builder
Jotform AI Agents
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Podo Comment Be the first to comment.