> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getthread.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send a CSAT survey from a Flow

> Add the Send CSAT survey action to a Flow so Thread posts a rating link to the customer with the ticket, contact, and technician details already filled in.

> [!NOTE]
>
> The **Send CSAT survey** Flow action is a limited-availability beta. Ask your Thread contact to turn it on for your workspace before you try to add it in the Flow builder.

Most CSAT vendors give you a snippet with rating links, and each link needs the ticket, contact, and technician stitched into the URL for the rating to attribute correctly. When a ticket is worked in Thread, [snippet variables](https://docs.getthread.com/inbox/how-to-setup-a-csat-survey.md) only cover a few of those fields, so vendor reports end up with blanks.

The **Send CSAT survey** action closes that gap. You paste the snippet your vendor generates once, and every time the Flow runs Thread fills in that ticket's values and posts the rating links to the customer as an outbound message. Thread never calls the vendor — the rating is recorded when the customer clicks a link.

This page is a how-to for building a Flow around that action. For a walkthrough of Flows themselves, see [Flows](https://docs.getthread.com/inbox/flows.md).

## Before you start

* You have Admin access to Thread.
* Your CSAT vendor can generate a snippet with **Integration Partner** set to **- Custom -**. This is the mode that emits the placeholder tokens Thread reads. CrewHu is confirmed; other vendors work if they emit the same structure.
* You know which survey you want to send: a **Resolved** survey (one rating per ticket close) or a **Reply** survey (a rating on a specific reply). Signature surveys are not supported — they credit the technician through a different field.

## Copy the snippet from your vendor

**1. Open the survey in your vendor**

Sign in to your CSAT tool and open the Resolved or Reply survey you want Thread to send.

**2. Set Integration Partner to Custom**

In the snippet or template settings, set **Integration Partner** to **- Custom -**. Any other choice fills the survey with placeholder text like `[ticket_id]` instead of the ticket's values.

**3. Copy the whole code block**

Copy the full HTML snippet, including the header line the vendor puts at the top. Do not trim it down to just the rating links, and do not paste the surrounding email template around it.

## Add the action to a Flow

**1. Open Flows in Admin**

In Thread Admin, go to **Flows** and open the Flow you want the survey on, or create a new one.

**2. Set the trigger**

Add the conditions you want the survey to fire on. To survey only closed tickets, add a **Status Name** condition set to your closed status, plus a **Board** condition for the boards you survey.

Thread evaluates a Flow every time a ticket changes, including when the ticket is created, and runs its actions the first time the conditions match. Without a status condition, the Flow can match when the ticket is created and send the survey as soon as the ticket opens.

**3. Add the Send CSAT survey action**

Under **Add action**, choose the **Send CSAT survey** action. A card opens with a **Paste the survey code block from your CSAT vendor** text area.

**4. Paste the snippet**

Paste the full code block from your vendor into the text area.

**5. Save the Flow**

Save the Flow. Thread parses the snippet at save time. If the block is missing rating links, uses a different vendor mode, or is a signature snippet, Thread refuses the save and tells you which part it could not read — fix the paste and save again.

## What Thread fills in

When the Flow fires, Thread replaces the placeholders inside every rating link with the values from that ticket. The fields it resolves are:

* **Ticket** — ticket ID (the PSA system ID) and ticket number.
* **Company** — the customer company's PSA ID and name.
* **Contact** — the contact's PSA ID, email, full name, first name, last name, and phone.
* **Technician** — the identifiers the vendor matches on. For ConnectWise this is the Member ID; for Autotask it is the technician's name without spaces. Thread sends every identifier it has (ID, name, email) so the vendor's match table finds one.
* **Summary** — the ticket summary.

The survey goes to the customer as an outbound message on the ticket, formatted for the channel it lands on (ConnectWise, Autotask, HaloPSA, and Microsoft Teams are all handled). If Thread cannot resolve a value — for example, no technician was ever assigned — the survey still goes out, and the vendor's own report shows the gap.

## Confirm it fired

Open [Flows Audit Log](https://docs.getthread.com/inbox/flows-audit-log.md) and filter to the ticket you just closed. The Flow's run shows the **Send CSAT survey** step with its result, so you can confirm the survey was sent before checking your vendor's dashboard for the rating.

## Related

* [Set up a SmileBack CSAT survey with snippets](https://docs.getthread.com/inbox/how-to-setup-a-csat-survey.md) — the snippet-based alternative, useful when a CSAT vendor cannot generate a Custom-partner block.
* [Flows](https://docs.getthread.com/inbox/flows.md) — how triggers and actions work.


## Related topics

- [Set Up a SmileBack CSAT Survey with Snippets](https://docs.getthread.com/inbox/how-to-setup-a-csat-survey.md)
- [What is Thread?](https://docs.getthread.com/get-started/what-is-thread-an-overview.md)
- [Flows: Automate Thread Routing and Actions in Inbox](https://docs.getthread.com/inbox/flows.md)
