# Outgoing Instagram Messages

## Conditions

| Field             | Operators                                                                                                                                         |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Outgoing Message  | includes any, does not include all, is a valid date, is not a valid date, matches regex pattern, does not match regex pattern, equals, not equals |
| Message Type      | is part of all, is part of any, is not part of all                                                                                                |
| Message Sender    | equals, not equals                                                                                                                                |
| Message sent time | is between, is on, is before, is after, is less than X period ago (past), is more than X period ago (past)                                        |
| Contact Group     | is part of all, is part of any, is not part of all                                                                                                |
| Contact Tags      | includes any, does not include all                                                                                                                |
| Contact Stage     | equals, not equals                                                                                                                                |

***

## Actions

| Action                                   | Description                                                                                                                                                                                                                                         |
| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Notify Staffs via WhatsApp               | Sends a WhatsApp template message to Staffs based on the conditions and trigger setup in the rule. This can be used to send notifications to staffs.                                                                                                |
| Assign chat to unassigned queue          | Assigns the chat to an unassigned queue for staffs to take action. This can be used in a Bot to Human transfer of the chat.                                                                                                                         |
| Assign chat to Staff                     | Assigns the chat to a staff to take action. This can be used to set a default assignee for action on a Bot to Human transfer of the chat.                                                                                                           |
| Add the Contact to Group                 | Adds a contact to a group based on the conditions and trigger setup in the rule. This can be used in conditions to identify contacts in subsequent rules.                                                                                           |
| Remove the Contact from Group            | Removes contact from a group based on the conditions and trigger setup in the rule. This can be used to make sure, the same rule does not execute multiple times in a flow.                                                                         |
| Add Contact Tags                         | Adds tags to contact based on the conditions and trigger setup in the rule. This can be used to segment contacts.                                                                                                                                   |
| Remove Contact Tags                      | Removes tags from a contact based on the conditions and trigger setup in the rule. This can be used to remove a contact from a segment.                                                                                                             |
| Update Contact Stage                     | Updates a contact stage. This helps you differentiate which stage a contact is at on a lead nurturing customer journey.                                                                                                                             |
| Auto Close Conversation                  | Closes the conversation automatically so the bot takes over the conversation the next time person messages.                                                                                                                                         |
| Clear AI Conversation History            | Clears the AI conversation history. AI won't have the context of previous conversations.                                                                                                                                                            |
| Send Instagram Text Message              | Sends an Instagram text message to the contact based on the conditions and trigger setup in the rule. This can be used to send replies to a contact when there is an active session.                                                                |
| send Instagram media                     | Sends an Instagram media message to the contact based on the conditions and trigger setup in the rule.                                                                                                                                              |
| send Instagram audio                     | Sends an Instagram audio message to the contact based on the conditions and trigger setup in the rule.                                                                                                                                              |
| send Instagram Generic Template          | Sends an Instagram generic template message to the contact based on the conditions and trigger setup in the rule. This can be used to send interactive messages with buttons and carousels as replies to a contact when there is an active session. |
| send Instagram Quick Replies             | Sends an Instagram message with up to 13 quick reply buttons to the contact based on the conditions and trigger setup in the rule. This can be used to select an option from menu.                                                                  |
| send Customer Satisfaction Survey (CSAT) | This action sends a Customer Satisfaction Survey to measure your business performance and customer satisfaction.                                                                                                                                    |
| Webhooks by Whautomate                   | Send custom webhook payloads to external applications via RESTful endpoints.                                                                                                                                                                        |
