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

# Attio App

> Install the official Attio app to create or update Attio people for your Dodo Payments customers and add a note for each payment, refund, and dispute.

## What the Attio app does

The Attio app creates or updates an Attio person for each customer. It also adds a note to the person for each payment, refund, and dispute. The app does not make deals and has no map from a product to a list.

## Before you start

* You are an owner or an admin of the Dodo Payments business.
* You have an Attio workspace and you can make an access token.

## Install, connect, and configure

**1. Install the app**

Open **Apps**, then **Explore**. Open **Attio** (publisher **Dodo Payments**) and select **Install app**.

![The Installed tab of Apps with Attio in the list and the status Active](https://mintcdn.com/dodopayments/9p5nlYkB8XwTy1ds/images/app-marketplace/merchant/apps/attio-4.png?fit=max\&auto=format\&n=9p5nlYkB8XwTy1ds\&q=85\&s=4dd3bf4a00bdfd6a03b9e6004b9a9f3f)

**2. Connect Attio**

Select **Connect**. In Attio, open **Workspace settings**, then **Developers**. Make an access token with the scopes `record_permission:read-write`, `object_configuration:read`, and `note:read-write`. Enter the token in the **Access Token** field, then select **Connect**.

![The Connect Attio dialog with the empty Access Token field](https://mintcdn.com/dodopayments/9p5nlYkB8XwTy1ds/images/app-marketplace/merchant/apps/attio-3.png?fit=max\&auto=format\&n=9p5nlYkB8XwTy1ds\&q=85\&s=713318e51e9204c0bc66c6e887bce3b2)

**3. Choose the settings**

Open the **Configure** tab, set the options, and select **Save**.

![The Configure tab of the Attio app with the three setting switches and the Products filter](https://mintcdn.com/dodopayments/9p5nlYkB8XwTy1ds/images/app-marketplace/merchant/apps/attio-1.png?fit=max\&auto=format\&n=9p5nlYkB8XwTy1ds\&q=85\&s=9403eb025a86759016da98971a138f2d)

**4. Make the person attributes (optional)**

To use **Write the Dodo person attributes**, make three text attributes on the People object in Attio: `dodo_customer_id`, `dodo_subscription_status`, and `dodo_status_updated_at`. Attio refuses an attribute that does not exist.

**5. Pick the filters**

Pick the products and currencies, then select **Save**.

![The Attio Configure tab with the Products and Currencies filters](https://mintcdn.com/dodopayments/9p5nlYkB8XwTy1ds/images/app-marketplace/merchant/apps/attio-2.png?fit=max\&auto=format\&n=9p5nlYkB8XwTy1ds\&q=85\&s=6f4da05a266baec6b153f2cc1d4531ad)

## Settings

| Setting | What it does | Default |
| - | - | - |
| Add customers as people | Create or update a person by email for each successful payment and each new or renewed subscription. The app writes the name, and the country when the person has no location. | On |
| Write the Dodo person attributes | Also write `dodo_customer_id`, `dodo_subscription_status`, and `dodo_status_updated_at`. The app writes the status when a subscription goes on hold, is cancelled, or expires. | Off |
| Add a note for payments, refunds and disputes | Add one note to the person for each successful payment, each successful refund, and each opened dispute. | On |
| Products | Send data only for the products that you pick. The notes do not use this filter. | All |
| Currencies | Send data only for the currencies that you pick. | All |

## What is sent and when

Dodo Payments sends data after the Dodo Payments event happens. The app sends the email address, the name, and the billing country code of the customer. With **Write the Dodo person attributes** on, it also sends the customer ID, the subscription status, and the time. A note shows the event, the amount in the major unit with the currency code, the product names, and the Dodo ID. The app sends no card data and no street address.

When no person exists, the app creates a person with only the email for a note. The app updates the name of an existing person at each payment. A name that you changed in Attio changes back to the name in Dodo Payments.

For a person with more than 2000 notes, a retry can add a second note.

## Test the app

**1. Use test mode**

Install and connect the app in test mode.

**2. Make a test payment**

Create a test payment with a test customer email.

**3. Check Attio**

Open **People** in Attio. The test customer appears. If notes are on, the person has a note for the payment.

## Troubleshooting

| Problem | What to do |
| - | - |
| The connection fails | Make a new access token in Attio. Check the scopes `record_permission:read-write`, `object_configuration:read`, and `note:read-write`. |
| Attio refuses the update after you turn on **Write the Dodo person attributes** | Make the three text attributes on the People object in Attio. |
| A person has a second copy of a note | The person has more than 2000 notes, and a retry added a second note. |
| A person has the wrong name | The app writes the name of Dodo Payments at each payment. Change the name in Dodo Payments. |
| **Connection needs attention** | Attio stopped accepting the credentials. Select **Reconnect** and enter new credentials. |
| No data arrives | Check that the setting switch is on and that the product and currency filters do not skip the event. Check that the customer has an email address. |

## Disconnect and uninstall

Turn off the settings on the **Configure** tab to stop sending data. Uninstall the app to delete the Attio connection. See [Manage and uninstall](https://docs.dodopayments.com/features/app-marketplace/manage-and-uninstall.md).


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