> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dogebot.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Apps and services

> Connect your WhatsApp bot to forms, shops, Zapier, Make and Google Sheets.

Your WhatsApp bot can talk to other apps. Open **Apps and services** in the WhatsApp menu, under **Data and links**.

There are two ways to connect:

> **Another app starts your flow**
>
> A form, your shop, Zapier or Make sends data to a **web address**. Your flow starts.

> **Your flow sends to another app**
>
> The **Send to an app** or **Add a row to Google Sheets** block sends data out.

## Web addresses that start flows

A **web address** is a special link. When another app (like a form, your shop, Zapier or Make) sends information to it, your flow starts. People who know websites call this an **incoming webhook**.

**1. Make a web address**

On **Apps and services**, make a new web address. Press **Copy**.

**2. Give it to your other app**

Paste it into your form, shop, Zapier or Make, where it asks for a **webhook URL**.

**3. Make a flow that listens**

Make a flow that starts with **When a web request arrives** and pick your web address.

**4. Choose who gets the message**

Set **Send messages to**. Usually this is `{hook_phone}`, the phone number your app sent. This is needed because nobody wrote to your number first.

Every piece of information the app sends becomes a variable that starts with `hook_`.

> **Example: an order confirmation**
>
> Your shop sends `phone` and `order_id` to your web address. Your flow sends to `{hook_phone}`:
>
> ```text theme={null}
> Thanks for your order! Your order number is {hook_order_id}.
> ```
>
> The customer gets: **Thanks for your order! Your order number is 1042.**

Each web address has buttons to **Copy**, show its **key**, **Send a test**, **Pause** and **Delete**.

## Blocks that talk to other apps

| Block | What it does |
| - | - |
| **Send to an app** | Sends the chat's details, plus any fields you choose, to Zapier, Make or any web address. The app's answer comes back as `{app_reply}`. |
| **Add a row to Google Sheets** | Adds a new row to your Google Sheet every time it runs. |
| **Hand over to a person** | Pauses the flows for that chat and puts it in the Inbox. |
| **Web request** | Sends a request to any web address. For people who know a bit about websites. |

## Connect Google Sheets

You don't need to sign in to Google in DogeBot. You paste a small script into your sheet once.

**1. Open your sheet**

Open the Google Sheet you want the rows in, or make a new one.

**2. Open Apps Script**

In the sheet, press **Extensions**, then **Apps Script**.

**3. Paste the DogeBot script**

Delete what is in the editor. In DogeBot, go to **Apps and services**, press **Copy** on the Google Sheets script and paste it in. Press **Save**.

**4. Deploy it**

Press **Deploy**, then **New deployment**. Press the gear next to "Select type" and pick **Web app**. Set **Execute as** to **Me** and **Who has access** to **Anyone**. Press **Deploy**.

**5. Allow it**

Google asks for permission the first time. Press **Authorize access** and pick your Google account. If it says the app isn't verified, press **Advanced**, then **Go to (your project)**, then **Allow**. It is your own script, so this is safe.

**6. Copy the link**

Copy the **Web app URL**. It starts with `https://script.google.com/macros/s/` and ends with `/exec`.

**7. Use it in your flow**

Add the **Add a row to Google Sheets** block. Paste the link into **Sheet link**. If you want, type the tab name, like `Orders`.

**8. Pick your columns**

Fill in **Columns**, one per line. For example:

```text theme={null}
Name = {wa_name}
Number = {wa_from}
Message = {wa_text}
```

Save the flow. Every time the block runs, a new row appears. Missing column headings are added for you.

> [!NOTE]
>
> If you change the script later, deploy it again: **Deploy**, **Manage deployments**, the edit pencil, then **New version**. This keeps the same link working.

## Zapier and Make

On **Apps and services** there is step-by-step help for **Zapier** and **Make**. In short:

**Start a flow from Zapier or Make**

Use a web address (see above) as the webhook in your Zap or scenario.

**Send to Zapier or Make from a flow**

Make a "catch hook" in Zapier or a "custom webhook" in Make. Copy its link and paste it into the **Send to an app** block.

> [!NOTE]
>
> Discord bots have the same idea on the **Integrations** page. See [Inbound webhooks](/connections/inbound-webhooks).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.