# ARIVE recipes

> Text new leads and borrowers from your own number when something changes in ARIVE.

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

## How ARIVE connects

- **[Zapier](https://getdogbot.com/docs/zapier)**: DogBot’s Zapier app has a Send Text action and instant triggers for incoming texts and every change of state.

## Text new leads right away

| Part             | What it is                         |
| ---------------- | ---------------------------------- |
| Trigger          | ARIVE’s New Lead trigger in Zapier |
| Action           | DogBot’s **Send Text** action      |
| Connects through | [Zapier](https://getdogbot.com/docs/zapier)             |

### Steps

1. ARIVE’s Zapier app comes with ARIVE’s Pro plan and above, and ARIVE invites you to it, so ask ARIVE for the invite first.
2. Start a Zap with ARIVE’s New Lead trigger.
3. Add DogBot’s Send Text action and map the lead’s phone to To.
4. Write the text with the lead’s first name mapped in.

### Map the fields

| DogBot field                 | Map it to                                                                                                                                  |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| To                           | The person’s mobile number from ARIVE. US numbers can leave off the +1.                                                                    |
| Text                         | Hi {{first_name}}, this is Jordan. Thanks for reaching out about a home loan. When’s a good time for a quick call?                       |
| `{{first_name}}` in the text | ARIVE’s first name field.                                                                                                                  |
| Metadata                     | `source` set to `arive`, 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 DogBot returned with `state: "queued"`. Then map ARIVE’s field back into **To** and turn the Zap on.

## Text the borrower when the loan’s status changes

| Part             | What it is                                    |
| ---------------- | --------------------------------------------- |
| Trigger          | ARIVE’s Loan Status Updated trigger in Zapier |
| Action           | DogBot’s **Send Text** action                 |
| Connects through | [Zapier](https://getdogbot.com/docs/zapier)                        |

### Steps

1. Start a Zap with ARIVE’s Loan Status Updated trigger.
2. Add a Filter step so the Zap goes on only for the status you want to tell borrowers about, such as Clear To Close.
3. Add DogBot’s Send Text action and map the borrower’s phone to To.
4. Write the text with the borrower’s first name mapped in.

### Map the fields

| DogBot field                 | Map it to                                                                                                                                  |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| To                           | The person’s mobile number from ARIVE. US numbers can leave off the +1.                                                                    |
| Text                         | Hi {{first_name}}, good news: your loan is clear to close. I’ll be in touch about the closing date.                                      |
| `{{first_name}}` in the text | ARIVE’s first name field.                                                                                                                  |
| Metadata                     | `source` set to `arive`, 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 DogBot returned with `state: "queued"`. Then map ARIVE’s field back into **To** and turn the Zap on.

## Text yourself each new loan

| Part             | What it is                         |
| ---------------- | ---------------------------------- |
| Trigger          | ARIVE’s New Loan trigger in Zapier |
| Action           | DogBot’s **Send Text** action      |
| Connects through | [Zapier](https://getdogbot.com/docs/zapier)             |

### Steps

1. Start a Zap with ARIVE’s New Loan trigger.
2. Add DogBot’s Send Text action with your own number in To.
3. Put the borrower’s name and the loan amount in Text.

### Map the fields

| DogBot field             | Map it to                                                                                                                                  |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
| To                       | The person’s mobile number from ARIVE. US numbers can leave off the +1.                                                                    |
| Text                     | New ARIVE loan: {{name}}, {{amount}}.                                                                                                  |
| `{{name}}` in the text   | ARIVE’s name field.                                                                                                                        |
| `{{amount}}` in the text | ARIVE’s amount field.                                                                                                                      |
| Metadata                 | `source` set to `arive`, 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 DogBot returned with `state: "queued"`. Then map ARIVE’s field back into **To** and turn the Zap on.

## Before you turn it on

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