Skip to main content

How to automatically update ticket states on replies using Workflows

Learn how to use Workflows to automatically change ticket states when a customer or teammate sends a message in a conversation.

Written by Junaid Zaidi
Updated over a week ago

You can use Workflows to automatically change ticket states when a customer or teammate replies. This ensures your team doesn't have to manually move tickets back to In progress or Waiting on customer during a conversation.

In this guide, we’ll use the example of moving a ticket from Waiting on customer to In progress.


When to use this

Use this setup when tickets stay in Waiting on customer after a customer responds and teammates are manually moving them back to In progress.

By combining an Workflow with a reusable ticket workflow, you can ensure your ticket states stay accurate in real-time without manual intervention.


Before you start

  • Ensure you are using Tickets and Workflows.

  • Confirm you have permission to create and edit Workflows


Step 1: Create a reusable workflow to set the ticket state

First, you need a reusable workflow that defines what the ticket state should change to.

  1. Go to Workflows > + New Workflow > Create from scratch.

  2. Select Reusable workflow as the trigger.

  3. Click Add step and choose Set ticket state.

  4. Choose the target ticket state (e.g., In progress).

  5. Give the workflow a clear name, such as: "Reusable – Set ticket state to In progress".

  6. Click Save and Set live.


Step 2: Trigger the workflow when a customer replies

Next, create an Inbox workflow to detect the customer's message and trigger the reusable workflow.

  1. Go to Workflows > + New Workflow > Create from scratch.

  2. Set the trigger to During a conversationCustomer sends any message.

  3. Optional: Add filters to ensure the workflow only runs for specific tickets, such as:

    • The linked ticket’s ticket type is the one you care about.

    • The linked ticket’s ticket state is Waiting on customer.

  4. Click Add Step and choose Pass to reusable workflow.

  5. Select the reusable workflow you created in Step 1.

  6. Click Save and Set live.


Step 3: Test the automation

To ensure everything is working correctly:

  1. Create a test conversation and convert it to a ticket.

  2. Manually set the ticket state to Waiting on customer.

  3. Send a new message as the customer.

  4. Verify that the ticket state automatically changed to In progress.

Note: This is a workflow-based automation. Ticket states will only change if the specific workflow conditions and filters are met.


Using the same pattern for teammate replies

If you want to move tickets to Waiting on customer when a teammate replies, repeat the process with these changes:

  1. Create a reusable ticket workflow that sets the state to Waiting on customer.

  2. Create an Inbox workflow using the Teammate sends any message trigger.

  3. Use the Pass to reusable workflow step to call the new ticket workflow.


💡Tip

Need more help? Get support from our Community Forum
Find answers and get help from Intercom Support and Community Experts


Did this answer your question?