# Google Forms recipes

> Text people who answer a Google Form, and text yourself the answers.

Two recipes for Google Forms. Each names its trigger and the BlueBot step, lists the fields to map and says how to test it with your own number before anyone else gets a text.

## How Google Forms connects

- **[Zapier](https://usebluebot.com/docs/zapier)**: BlueBot’s Zapier app has a Send Text action and instant triggers for incoming texts and every change of state.
- **[Make](https://usebluebot.com/docs/make)**: BlueBot’s Make app sends texts and starts scenarios when a text comes in or changes state.

## Text people who answer a form

| Part             | What it is                                        |
| ---------------- | ------------------------------------------------- |
| Trigger          | Google Forms’ New Form Response trigger in Zapier |
| Action           | BlueBot’s **Send Text** action                    |
| Connects through | [Zapier](https://usebluebot.com/docs/zapier)                            |

### Steps

1. Add a question for a mobile number to your form.
2. Start a Zap with Google Forms’ New Form Response trigger.
3. Add BlueBot’s Send Text action and map the phone answer to To.
4. Write the text with the person’s first name mapped in.

### Map the fields

| BlueBot field                | Map it to                                                                                                                                         |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| To                           | The person’s mobile number from Google Forms. US numbers can leave off the +1.                                                                    |
| Text                         | Hi {{first_name}}, thanks for signing up for the open house on Saturday. Reply here with any questions.                                         |
| `{{first_name}}` in the text | Google Forms’s first name field.                                                                                                                  |
| Metadata                     | `source` set to `google-forms`, and `record_id` set to the record’s id, so the status and reply webhooks for this text can find the record again. |
| Service                      | Auto, the default: iMessage when the person uses it, otherwise SMS through your iPhone.                                                           |

### Test it

Put your own number in **To** and press **Test step**. A text arrives on your phone from your own number, and Zapier shows the message BlueBot returned with `state: "queued"`. Then map Google Forms’s field back into **To** and turn the Zap on.

## Text yourself each response

| Part             | What it is                             |
| ---------------- | -------------------------------------- |
| Trigger          | When a Google Form gets a new response |
| Action           | BlueBot’s **Send Text** module         |
| Connects through | [Make](https://usebluebot.com/docs/make)                     |

### Steps

1. Start a scenario with Google Forms’ module that watches responses.
2. Add BlueBot’s Send Text module with your own number as the recipient.
3. Map the answers you want into the text.

### Map the fields

| BlueBot field            | Map it to                                                                                                                                         |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| To                       | The person’s mobile number from Google Forms. US numbers can leave off the +1.                                                                    |
| Text                     | New RSVP: {{name}}, party of {{guests}}.                                                                                                      |
| `{{name}}` in the text   | Google Forms’s name field.                                                                                                                        |
| `{{guests}}` in the text | Google Forms’s guests field.                                                                                                                      |
| Metadata                 | `source` set to `google-forms`, and `record_id` set to the record’s id, so the status and reply webhooks for this text can find the record again. |
| Service                  | Auto, the default: iMessage when the person uses it, otherwise SMS through your iPhone.                                                           |

### Test it

Put your own number in **To** and press **Run once**. A text arrives on your phone, and the module’s output shows the message with `state: "queued"`. Then map Google Forms’s field back into **To**.

## Before you turn it on

- Text only people who asked to hear from you. Anyone who replies STOP goes on your stop list, and BlueBot cancels texts to them. [Stop words](https://usebluebot.com/docs/concepts/stop-words)
- A text that can’t go yet waits with a hold rather than failing: quiet hours, your Mac away, a daily limit. [Holds](https://usebluebot.com/docs/concepts/holds)
- [Google Forms with BlueBot](https://usebluebot.com/integrations/google-forms) on the integrations page says what else the two do together.
