# Customer Replied

{% hint style="danger" %}
In order to **PUBLISH** workflows, you will need to establish a workflow trigger and a workflow action. Without both, you will only be able to save the workflow, not publish it.
{% endhint %}

The "customer replied" workflow trigger runs when an incoming message is received from a contact. It is an advanced workflow with a lot of filters and variables. This trigger can be used to build automation that performs actions based on customers replying, and even replying from a specific communication channel such as SMS only or Email only.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FXFGJvyFw1A41T0lvLm1H%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-200daacbeceb2ab0b739be2454727d7cfe5f34b5_WF%20Trigger%20-%20Filter%20-%20Customer%20replied.png?alt=media&#x26;token=dd61d17f-a624-4eff-83a5-1a44838b69b4" alt=""><figcaption></figcaption></figure>

## Add Filters

### Contain Phrase

If you only want this workflow to trigger when a specific phrase is used by your customer or lead, you can add that phrase into the "contains phrase" filter. As long as the message contains this phrase, regardless of the other words in the message, the workflow will trigger.

**For Example:** Using the phrase "**Yes please**" could be a way to trigger this workflow when asking a customer or lead is they want a certain discount.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FoudHWOoPEG9zSmaMY5VH%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-86f95c614fe052c72a9c8599e904d9fb4387988c_WF%20Trigger%20-%20Filter%20-%20Customer%20replied%20-%20contents%20phrase%20(2)%20(1).png?alt=media&#x26;token=7f5031e2-88d2-43a1-b209-1135a1ea092f" alt=""><figcaption></figcaption></figure>

### Doesn't Have Tag

By selecting this filter, you can decide to trigger this workflow when a customer replies and DOES NOT have the tag "20% discount voucher" associated with their contact records.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FkoQZ5q4OMsIbAARfAj5K%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-29960c434017e7f2dbfbd702a4b5cc0713e694ff_WF%20Trigger%20-%20Filter%20-%20Customer%20replied%20-%20Doesnt%20have%20tag%20(1).png?alt=media&#x26;token=3e820098-3033-4c38-8a6f-681fd1409177" alt=""><figcaption></figcaption></figure>

### Exact Match Phrase

By clicking on the "Exact Match phrase", you can restrict the trigger action to an exact word or phrase.

By clicking on the "Exact Match phrase", you can restrict the trigger action to an exact word or phrase.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FJOoKIbebHnbYc7VRdw6w%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-cb5eafb17e4a9b568c422dbf2e32d1479a43050b_WF%20Trigger%20-%20Filter%20-%20Customer%20replied%20-%20Exact%20match%20phrase%20(1).png?alt=media&#x26;token=50a5c2d6-8afb-4d3f-a395-6d7182de4794" alt=""><figcaption></figcaption></figure>

### Has Tag

Select a tag from the CRM. When a tag is allocated to the contact's workflow, the workflow will only be triggered based on the specific tag.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FMjDvMv4MtQ4UMw8srhCH%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-119ad217dd3b266a773180be4337f6215f3423a8_WF%20Trigger%20-%20Filter%20-%20Customer%20replied%20-%20Has%20tag%20(2).png?alt=media&#x26;token=b9efcc36-9cad-49d2-9933-e8f1e54b891d" alt=""><figcaption></figcaption></figure>

### Intent Type

For "Intent Type" the system tries to understand the contact response if it is positive or negative then, uses this automation as a reply to the contact's response.

This filter uses Google automation on the back end (Google Dialog Flow). It is the automation built by Google to understand the communication of human beings. There are groups of words established as positive and others grouped as negative.

For Example, if a contact replies to an appointment invite as "Sure but I have a meeting in an hour's time so make it quick" the system sees it as a 'Yes' because of the "Sure" in the sentence.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FMyzsn0x2SxBp6LhuG1of%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-df6f7d8e9cde071ecdc8b5b8a42a06f8443cd01e_WF%20Trigger%20-%20Filter%20-%20Customer%20replied%20-%20intent%20tpye.png?alt=media&#x26;token=d05a8f4d-ef83-4189-9800-3f62308d56ba" alt=""><figcaption></figcaption></figure>

### Replied To Workflow

By selecting this filter, you can choose the workflow you are looking out for a reply from.

For Example, If you send a message to your contact and you are expecting a reply from them, you can trigger this workflow based off of their reply.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FD5uYlw46c72kIl25ynNl%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-e76ffa4f6d510a16e28eb0a7cd0ada84b0a8abde_WF%20Trigger%20-%20Filter%20-%20Customer%20replied%20-%20Replied%20to%20window%20(1).png?alt=media&#x26;token=3aeec9c3-7590-4fe8-91f3-ace53dc79fa6" alt=""><figcaption></figcaption></figure>

### Reply Channel

This "Reply channel" runs only when there's a specific reply from a channel.

For example, a customer replied to your SMS campaign, this workflow automatically triggers

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FNRqPFSoHg2wUTXWAixPW%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-df3d95f0e7ebd5039ca04a1caeeac498ea6e097f_WF%20Trigger%20-%20Filter%20-%20Customer%20replied%20-%20Replied%20channel%20(1).png?alt=media&#x26;token=1583de2d-33ae-447c-bf72-659fe095f6a7" alt=""><figcaption></figcaption></figure>
