Automations

Automated actions that get activated based on specific triggers & conditions

Automations in ClearFeed help streamline your workflows by triggering specific actions when defined events occur on Requests or Tickets. Each automation is made up of four components:

Component
Meaning

Trigger

This decides when the automation is activated

Conditions (Optional)

Conditions at the time of trigger that should be satisfied

Delay (Optional)

Wait duration after trigger before the actions should kick-in

Actions

Activities that should happen after a successful trigger

Example Use Cases:

Automations can support a wide range of scenarios:

  • Auto-close after resolution: If a Request/Ticket’s Status is “Solved” for 48 hours, automatically move it to Closed.

  • Follow-up reminders: If a Request/Ticket’s Status is “Pending” for 24 hours, post a private comment to remind the assignee.

  • 📣 Priority-based alerts: If a Request/Ticket’s Priority is updated, send a Slack notification to a specific channel.

  • 📝 Form-based notifications: When a specific Form is filled on a Ticket, send the ticket details to another team.

  • 👤 Field-based assignment: If a Custom Field is updated to a defined value, assign the Request/Ticket to a specific user.

  • 📈 Slack inactivity escalation: If there’s no response to a Slack request for a configured time, escalate it to a ticket in Zendesk or other platforms.

  • 🤖 AI field auto-fill: When a request is created, auto-fill the Issue Category field using AI.

  • 🚫 Request filtering: Prevent ticket creation for requests from designated individuals.

How to Create an Automation

  • From the left navigation bar, go to More → Automate.

  • Click "Create Automation":

  • Give your automation a meaningful name.

  • Configure the Automation by going through the following steps:

Step 1: Select Trigger

Triggers define the conditions under which the automation will begin. The following trigger options are available:

Request-Based Triggers:

  • Request Created – Trigger when a new request is submitted.

  • Request Updated – Trigger when a field such as Status, Priority, Assignee, or a Custom Field is changed.

  • Request Message Added – Trigger when a new message is added to the request.

  • Request CSAT Submitted – Trigger when a CSAT rating is submitted for the request.

  • Request Reaction Added – Trigger when a reaction (emoji) is added to the request. You can specify the emoji.

Clearfeed Ticket-Based Triggers:

  • Ticket Created – Trigger when a Clearfeed ticket is created.

  • Ticket Updated – Trigger when a ticket field (e.g., Status, Priority, Assignee, or Custom Fields) is updated.

  • Ticket Message Added – Trigger when a new message is added to the ticket.

  • Ticket CSAT Submitted – Trigger when a CSAT response is submitted for the ticket.

  • Ticket Reaction Added – Trigger when a reaction (emoji) is added to the ticket. You can specify the emoji.

Triggers in Automations

Step 2: Set Conditions (Optional)

Conditions define when an automation should run, based on the properties of a Request or Ticket. You can add conditions based on standard fields, business hours, and custom fields.

Standard Fields

For standard fields (Status, Priority, Assignee, Channel, Assigned Team and First Message Author) you can use the following operators:

  • is set to

  • is not set to

  • is one of

  • is not one of

Business Hours

You can also create conditions based on the trigger time relative to your business hours:

  • Trigger time is inside business hours

  • Trigger time is outside business hours

Custom Fields

Operators for custom fields depend on the type of the field:

Field Type
Supported Operators

Single Line & Multi Line Text

is set to, is not set to

Number

is set to, is not set to, is greater than, is less than

Date

is set to, is not set to, is after, is before

Single Select

is set to, is not set to, is one of, is not one of

Multi Select

is set to, contains any of, contains all of, contains none of

User Select

is set to, is not set to, is one of, is not one of

Note:

  • Adding a condition is optional

  • You can add multiple conditions.

  • Only one condition per field is allowed.

Step 3: Choose Delay (Optional)

You can configure a delay before an action runs — set in days, hours, and minutes.

  • Default: 0 (no delay)

  • Maximum supported delay: 29 days, 59 minutes, 59 seconds

Advanced: Invariance Settings

Specify fields to monitor during the delay to control automation cancellation.

  • If a selected field is part of the automation's Conditions, the automation will only be canceled if a change to the field causes the condition to fail.

  • If a selected field is not part of the Conditions, any change to the field will automatically cancel the automation.

📌 Example: Let’s say you're setting up an automation to send a follow-up message to the Assignee if the Status of the request remains "Open" for 3 days. You set a delay of 3 days before sending the message.

  • Invariant Field is part of Conditions: You choose to monitor the Status field (since it is part of the condition for triggering the action). If the Status changes to "Resolved" within the 3-day delay, the automation will cancel because the condition (Status = "Open") is no longer true. However, if the Status remains "Open," the automation will proceed and send the follow-up email after 3 days.

  • Invariant Field is not part of Conditions: Now, let’s say you also monitor the Priority field (which is not part of the automation's Conditions). If the Priority field is updated during the delay (e.g., from "Medium" to "High"), the automation will cancel, regardless of whether the Status remains "Open" or not, because you set the Priority field to automatically cancel the automation on change.

Step 4: Choose Action

Actions define what happens when conditions (if any) are met. ClearFeed supports multiple actions executed in sequence.

Available Actions

Webhook

Send ClearFeed Request or Ticket data to an external endpoint. Read more about formatting the message with Request Parameters here.

>> Default Webhook Payload
{
"id": "{{request.id}}",
"web_url": "{{request.web_url}}",
"status": "{{request.status}}",
"priority": "{{request.priority}}",
"assignee": {
"id": "{{request.assignee.id}}",
"name": "{{request.assignee.name}}"
},
"channel": {
"id": "{{request.channel.id}}",
"name": "{{request.channel.name}}"
},
"title": "{{request.title}}",
"request_message": {
"ts": "{{request.request_message.ts}}",
"thread_ts": "{{request.request_message.thread_ts}}",
"csat_survey": {
"status": "{{request.csat_survey.status}}",
"response": {
"value": "{{request.csat_survey.response.value}}",
"max_value": "{{request.csat_survey.response.max_value}}",
"survey_type": "{{request.csat_survey.response.survey_type}}",
"comment": "{{request.csat_survey.response.comment}}"
}
}
}

Set Field

Update fields like Status, Priority, Assignee, or any Custom Field.

Send Message

Post formatted messages to:

  • Slack Channel

  • Triage Channel

  • Teammate (via ClearFeed App in Slack)

  • As Public Reply

  • As Private Comment

  • To Assignee via ClearFeed

Trigger Ticket Creation

Create a ticket per collection's settings.

Auto-Fill AI Custom Field

Use pre-configured AI prompts for the custom field to auto-populate values.

Invoke AI Agent

You can use an AI Agent in two key ways within ClearFeed Automations:

  1. Generate Structured Responses The AI Agent can produce structured replies based on incoming inputs. These responses can be passed to subsequent steps in your automation workflow — such as:

    1. Updating a custom field

    2. Sending a Slack message

    3. Triggering a webhook or action

  2. Respond to Incoming Requests The AI Agent can directly respond to user queries by retrieving relevant information from connected Knowledge Sources.

This enables you to build intelligent workflows that either operate silently behind the scenes or respond to users in real time — powered by AI.

Configuration Options

  • Instructions – Provide the AI Agent with a prompt. You can use request or ticket variables inside the prompt for context. &#xNAN;Example: “Summarize the user’s message and rate its urgency from 1 to 5.”

  • Output Schema (Optional) – Define the expected structure of the AI's response using variables. This helps downstream steps consume the AI’s output reliably.

Field
Description

name

Identifier for the variable

type

text or number (only these are supported)

description

Helps LLM return appropriate values

required

Whether the variable must be returned

Example Use Case

Prompt:

Summarize the request and rate urgency from 1–5

Output Variables:

{
  "summary": "User can't log in",
  "urgency_score": 5
}

You can then use the AI-generated values in your automation:

  • Condition logic

    If urgency_score > 3 → escalate or route to IT

  • Message or Webhook

    Slack message: “Issue summary: {{agent_output.summary}}

  • Set a Custom Field

    Set field: Urgency = {{agent_output.urgency_score}}

Okta Actions

If your ClearFeed workspace is integrated with Okta, you can trigger user lifecycle operations as part of automation workflows. These actions help streamline IT and HR processes by automating common administrative tasks directly from Slack-based requests or ticket updates.

Supported Actions

Action
Description

Reset Password

Reset user's password, optionally send a password reset link to the users email addresss

Suspend User

Temporarily disables the user's access to all connected applications.

Unsuspend User

Reactivates a suspended user account, restoring access.

Deactivate User

Disables the user without deleting their profile. Often used for offboarding.

Activate User

Reactivates a previously deactivated user. Useful during rehiring.

Delete User

Permanently removes the user from Okta. ⚠️ This is irreversible.

Configuration Notes

  • Each action requires the email address, typically passed as a placeholder like {{request.requester.email}}.

  • For Activate User and Reset Password actions, you need to specify whether an email should be sent to the user’s configured email address when the action is executed.

  • Placeholders are available dynamically from the request or ticket context.

  • You can add conditions to control when the action is triggered (e.g., “if Request Type is Offboarding”).

  • These actions can be part of a multi-step automation and combined with delays, AI agent outputs, or webhook calls.

Map Collections

Use the button Map Collections to choose the Collection that should use the Automation and click on the toggle to enable the automation.

  • You can select Email and Portal Collection to let the Automations act on Tickets originating from these sources.

The Actions are completed only when an automation is mapped to at least one Collection

Adding Parameters in Messages

You can add Request/Ticket parameters such as the Request ID, URL, Status, Priority, values of other custom fields, etc. when configuring the payload sent via Webhook Action or a Sent Message action.

  1. In the message box, type {{ to invoke the parameters dropdown.

  2. Select and enter the relevant parameters in your messages

Checking Automation Execution Logs

You can see the detailed execution logs for each automation, helping you track and troubleshoot how automations are behaving in real time.

Accessing the Execution Log:

To view the execution log for any automation:

  • Navigate to the Automations section in the ClearFeed web app.

  • Click on the 3 dots icon corresponding to the automation you want to inspect and click on "Execution Log"

Execution Log displays the history of all past executions for the selected automation

What You’ll See in the Execution Log

Each automation execution includes:

  • Status of the run

  • Original Request ID

  • Timestamp of execution

You can:

  • Click the Request ID to open the related request in a new tab.

  • Click anywhere else on the row to view detailed Execution Steps along with their status.

Execution Status Types

You may see one of the following statuses for each automation run:

  • Done – The automation executed successfully.

  • Failed – The automation encountered an error.

  • Cancelled – The execution was canceled because a field marked as invariant was changed during runtime.

  • Running – The automation is currently in progress.

  • Skipped – The automation was skipped because the defined condition was not met.

Coming Soon

  • More Trigger Events - Eg. External Webhooks, APIs.

FAQs

  1. How are Automations different from Workflows? Answer: Workflows are special cases of automation that are designed to solve the following use cases:

    • Escalation notifications to specific users/teams in case of no response to users - After sending a notification, workflows also manage the state of the triggered notification. Eg. there automatically get dismissed in case the messages are replied to. This is not the case with notifications triggered via automation.

    • Automated reply on request or ticket creation. These messages can be dismissed by users on Slack. \

  2. How does ClearFeed check for invariance of triggers and conditions during the delay period in automation? Answer: During the delay period in automation, ClearFeed checks for the invariance of the "status" property only. For all other properties defined in the automation, the trigger and conditions are evaluated only at the time of the initial trigger. This means that changes to properties other than "status" during the delay period do not affect the automation's execution.\

  3. Can we Clone or Delete an Automation? Answer: Yes, it is possible to clone an automation. Simply go to Automations and click on the three-dot button. It will expose the options to Clone or Delete the Automation. \

  4. Can we set Automations to trigger for our business hours? Answer: Yes, it is possible to only trigger Automations inside or outside your business hours. You can do this by: Adding a Condition and Selecting the Trigger Time option to be Inside or Outside Business Hours.\

  5. Can a ticket be automatically created when certain predefined keywords are detected in the request content? Answe: Yes, this can be achieved. Clearfeed automatically sets the priority to High when a request contains certain predefined keywords (Learn more here). You can then create an automation that triggers ticket creation whenever the priority is set to High. Make sure the Trigger mode is set to Emoji Mode under the Collection's Ticketing Settings.

Last updated

Was this helpful?