# How To Trigger Automations Flow Or WhatsApp Messages For All Or Selected Rows in Google Sheet ?

#### <mark style="color:red;background-color:orange;">How to Set Up and Use Google Sheet Automations</mark>

1. **Install App Script**: Get the app script code from- [https://pastebin.com/iJkLWvhX](https://www.youtube.com/redirect?event=video_description\&redir_token=QUFFLUhqbmw4TzdTdU1JWGxJaGdGUHRPLU9ZSGFfZzhXZ3xBQ3Jtc0ttX2lQWGRZUjBWOUJxVmpfWG5vQWZPV05Pdk1EYWpSM25aOXV0SzhyRWdoWThQT1lJOHRkd25KVFotRWQ3dVJ3emNjUkJfUkV6STY4X3E5MWZuMWlTSm52dXdnNzA4eHhJUkJiS2djLXNFbnFCejJIbw\&q=https%3A%2F%2Fpastebin.com%2FiJkLWvhX\&v=V40VGh0h-L4) and install it into your Google sheet. Ensure you replace the webhook URL in the app script with yours.
2. **Reload the Sheet**: Refresh your Google sheet page to see the new menu option "Trigger Automations".
3. **Authorize Email**: To test the automation, click on "Send Selected Rows" from the new menu and authorize your email.
4. **Enter Data in Automations Builder**:
   * Input two or three rows of data.
   * Click "OK".
5. **Map Webhook Data**:
   * Use the data received in the webhook to perform actions like sending WhatsApp messages or adding time delays.
6. **Save and Enable Workflow**: Save the workflow settings and activate the automation.
7. **Trigger Automations**:
   * Use the "Trigger Automations" menu to send all or specific rows to the webhook. Specify the row numbers if needed.

{% embed url="<https://youtu.be/V40VGh0h-L4>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpdocumentation.gitbook.io/user/automations-builder/how-to-trigger-automations-flow-or-whatsapp-messages-for-all-or-selected-rows-in-google-sheet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
