How to Initiate a Workflow Based on a User Action

February 25, 2025

When a user interacts with an AI agent, certain actions may require follow-ups, approvals, or additional processing. Instead of handling these steps manually, the agent can initiate a workflow based on the user’s action to automate the process. Once triggered, the workflow follows predefined rules to assign tasks, request approvals, and send notifications. This ensures that key steps are completed at the right moment, allowing agents to streamline operations and maintain efficiency.


To set up an action that allows your agent to initiate a workflow based on user action, 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’s action. 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 Trigger Workflow With Form option from the Do dropdown.
  2. Then, select a workflow from the Workflow dropdown that your agent should initiate based on the specified condition. Use the search bar in the dropdown to quickly find the workflow you need.
Trigger Workflow With Form action in the Do dropdown of the Actions section in the Train tab of the Jotform AI Agent Builder
  1. Once everything is set, click on the Save button.
Save button of the Actions section in the Train tab of the Jotform AI Agent Builder

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 new action in the Preview page of the Jotform AI Agent Builder

In the conversation, the agent helped the user fill out the form, which is linked to the workflow set in the action saved in the example above.

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.