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

# Integrations

> Connect Google Sheets, Google Calendar, Google Drive, Razorpay, Magic Forms and Magic Reward so your agents can log enquiries, book meetings, send files, take payments and more.

Integrations give your agents new abilities. Open them from **Integrations** in the sidebar.

![The Integrations page with Magic Apps, Google and Payments](https://mintcdn.com/magicwebs/lXS3DuVdQz1WpiFT/images/console/integrations.png?fit=max\&auto=format\&n=lXS3DuVdQz1WpiFT\&q=85\&s=02a631e43deb94521ef5cd47a684617b)

Filter by **Magic Apps**, **Google**, **Payments** or **Other**. Each card shows whether it is connected. Open one to see what it can and can never do, what agents can do with it, an FAQ and how to connect it.

> [!WARNING]
>
> Connecting an integration doesn't hand it to any agent. Every tool it adds is **off** until you switch it on for an agent under **Knowledge & tools** in the [agent editor](https://agent-docs.magicwebs.ai/build/agent-editor.md). Use **Switch on for an agent** from the card menu as a shortcut.

## Google Sheets

Every enquiry lands as a row in a spreadsheet in your own Google Drive.

![Google Sheets details with How to connect](https://mintcdn.com/magicwebs/lXS3DuVdQz1WpiFT/images/console/integrations-sheets.png?fit=max\&auto=format\&n=lXS3DuVdQz1WpiFT\&q=85\&s=236ebaf9cbaac50f6671b098537c1255)

1. Optionally switch on **Use an existing sheet** and paste its link. Otherwise a new "(your company) — Enquiries" sheet is created.
2. Choose **Connect with Google** and allow access.
3. Turn on the sheet tool for the agents that should log enquiries.

You can **Change sheet** or **Start a new sheet** later.

## Google Calendar

Agents offer real free slots from your calendar and book the meeting, with a Google Meet link. Slots are between 9:00 and 18:00 in your workspace timezone. Optionally **Email a confirmation**. Connect with Google, then turn on the calendar tools for an agent.

## Google Drive

Agents find a brochure or price list in Drive and send the customer the link. After connecting, put your files in the folder Magic Agent creates. Only that folder and its subfolders are searched.

## Razorpay

Take payments with payment links.

1. Enter your **Key ID** and **Key Secret** and choose **Connect Razorpay**.
2. In Razorpay, under **Webhooks**, add the **Webhook URL** and **Webhook secret** shown.
3. Choose your options:
   * Razorpay texts the link
   * Razorpay emails the link
   * **Links expire after** 1 to 30 days
   * **When an order is paid, move it to** a stage

**Payments** then appears under Leads. See [Orders and payments](https://agent-docs.magicwebs.ai/leads/orders-and-payments.md).

## Magic Forms

Agents send a form in the chat, and the answers come back into the conversation.

1. In Magic Forms, open your workspace's **API → Keys** and create a key.
2. Paste it as the **API key** and choose **Connect**.
3. Turn on *send\_form* for an agent. Optionally **Reply when it comes back**.

Under **Submissions**, choose **Save to book** to collect a form's answers in a [record book](https://agent-docs.magicwebs.ai/build/record-books.md).

## Magic Reward

Agents send a customer a live offer to play for a prize. Create a key in Magic Reward under **Settings → API keys**, paste it here, then turn on *send\_offer* for an agent.

## Other tools

Slack, Zapier, webhooks, Notion, and Claude and ChatGPT are covered by guidance cards that point you to:

* a [custom tool](https://agent-docs.magicwebs.ai/build/custom-tools.md);
* your [webhook settings](https://agent-docs.magicwebs.ai/account/settings.md#webhook);
* the [AI assistant connector](https://agent-docs.magicwebs.ai/account/settings.md#assistant).


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