Skip to main content

Attio Integration Guide

Sync your Attio deals with Introzy to track referral partnerships, manage pipelines, and calculate partner commissions.

Written by Nicole Adams

Sync your Attio deals with Introzy to track referral partnerships, manage pipelines, and calculate partner commissions.

Table of Contents

Overview

The Introzy Attio integration allows you to:

  • Sync deals from Attio to Introzy (manually or automatically)

  • Map pipelines - Send deals to specific Introzy pipelines (Sales, Referral, Advocacy, etc.)

  • Map stages - Translate Attio deal stages to Introzy pipeline stages

  • Track referral partners - Link deals to the partner who referred them

  • View partner stats - See total revenue and deal counts for referral partners directly in Attio

Installation

  1. Install the Introzy App in your Attio workspace from the Attio AppStore or via private link

  2. Navigate to Settings → Apps → Introzy

  3. Configure the required settings (see Configuration below)

Configuration

Access the Introzy app settings in Attio: Settings → Apps → Introzy

Required Settings

Setting

Description

Introzy API Key

Your Introzy API key. Generate one at Settings → API Keys in Introzy. Format: introzy_xxxx...

Optional Settings

Setting

Description

Default

Introzy Base URL

Override the Introzy API URL (useful for testing)

https://app.introzy.com

Target Pipeline

Which Introzy pipeline to send deals to

REFERRAL

Stage Mappings

Map Attio stages to Introzy stages (see Pipeline & Stage Mapping)

Uses first stage

Deal Value Field Slug

Attio field slug for deal value

value

Deal Stage Field Slug

Attio field slug for deal stage

stage

Referral Partner Field Slug

Attio field for referral partner email (REFERRAL pipeline only)

—

Syncing Deals

There are two ways to sync deals from Attio to Introzy:

Manual Sync (Button)

  1. Open any Deal record in Attio

  2. Click the ⋯ menu (three dots) in the top-right

  3. Select "Send to Introzy"

  4. The deal will be created or updated in Introzy

Notes:

  • If the deal already exists in Introzy (matched by Attio record ID), it will be updated

  • If it's new, it will be created

  • You'll see a confirmation toast with the result

Automatic Sync (Webhooks)

Set up an Attio Workflow to automatically sync deals when they're created or updated.

Step 1: Create a Workflow

  1. Go to Automations → Workflows in Attio

  2. Click "Create workflow"

  3. Choose a trigger:

    • "Record created" on Deals object

    • "Record updated" on Deals object (for stage changes)

    • "Record matched filter" for specific conditions

Step 2: Add HTTP Request Action

Add an "HTTP request" action with these settings:

Field

Value

Method

POST

URL

https://app.introzy.com/api/attio/deals

Step 3: Configure Headers

Add this header:

Header

Value

Authorization

Bearer YOUR_INTROZY_API_KEY

Replace YOUR_INTROZY_API_KEY with your actual API key (e.g., Bearer introzy_abc123...)

Step 4: Configure Request Body

Use this JSON template for the body:

{
  "deal_name": "{{record.name}}",
  "contact_person_email": "{{record.associated_people[0].email_addresses[0].email_address}}",
  "attio_record_id": "{{record.id.record_id}}",
  "deal_value": "{{record.value.currency_value}}",
  "introzy_pipeline": "REFERRAL",
  "attio_stage_name": "{{record.stage.status.title}}"
}

Webhook Payload Reference

Field

Required

Description

Example

deal_name

✅ Yes

The deal name

"Acme Corp Deal"

contact_person_email

✅ Yes

Email of the linked contact/person

attio_record_id

Recommended

Attio record ID (enables upsert)

"578fe920-1c69-..."

deal_value

Optional

Monetary value of the deal

50000 or "50000"

introzy_pipeline

Optional

Target pipeline

"SALES", "REFERRAL", "ADVOCACY", "INTEGRATION", "PARTNER"

attio_stage_name

Optional

Attio stage name (for mapping)

"In Progress"

stage_mappings

Optional

Stage mapping string

"Lead:Qualifying,Won:Closed Won"

referral_partner_email

Optional

Referral partner's email

contact_person_name

Optional

Contact's name (if creating new)

"John Smith"

Pipeline & Stage Mapping

Selecting a Pipeline

Set the Target Pipeline in app settings to one of:

Pipeline

Description

SALES

Standard sales deals

REFERRAL

Deals from referral partners (supports partner tracking)

ADVOCACY

Customer advocacy program deals

INTEGRATION

Integration partnership deals

PARTNER

General partner deals

Mapping Stages

Map your Attio deal stages to Introzy pipeline stages using the Stage Mappings setting.

Format

AttioStage1:IntrozyStage1,AttioStage2:IntrozyStage2

Example

If your Attio stages are Lead, In Progress, Won, Lost and your Introzy SALES pipeline has Qualifying, Negotiating, Closed Won, Closed Lost:

Lead:Qualifying,In Progress:Negotiating,Won:Closed Won,Lost:Closed Lost

Finding Your Introzy Stage Names

  1. Go to Settings → Pipelines in Introzy

  2. Select your pipeline

  3. Note the exact stage names (case-sensitive)

Notes

  • Stage names are case-insensitive for matching

  • If no mapping matches, the deal is placed in the first stage of the pipeline

  • Stage mappings can also be included in webhook payloads for per-request customization

Referral Partner Tracking

When using the REFERRAL pipeline, you can link deals to the partner who referred them.

Setup

  1. In Attio, create a Person field on your Deals object (e.g., "Referral Partner")

  2. In Introzy app settings, set Referral Partner Field Slug to that field's slug

  3. When syncing deals, the partner's email will be used to find or create the connection in Introzy

How It Works

  1. When a REFERRAL deal syncs with a partner email:

    • Introzy looks up the partner by email

    • If found, creates a Connection linking the partner to the deal

    • The partner becomes the "Connector" on the deal

  2. This enables:

    • Partner commission tracking

    • Revenue attribution to partners

    • Partner stats in the Attio widget

For Webhooks

Include the referral_partner_email field:

{
  "deal_name": "Referred Deal",
  "contact_person_email": "[email protected]",
  "introzy_pipeline": "REFERRAL",
  "referral_partner_email": "[email protected]"
}

Partner Stats Widget

When viewing a Person record in Attio that is a referral partner in Introzy, you'll see a widget showing:

  • Total deals they've referred

  • Total revenue from their referred deals (sum of deal values)

Requirements

  • The person must exist in Introzy as a contact

  • They must be the "Connector" on at least one deal

  • Your Introzy API key must have permission to read partner data

Troubleshooting

"Could Not Fetch Deal" Error

Cause: Usually a configuration issue.

Solutions:

  • Verify your Introzy API Key is correct

  • Check that the API key has the necessary permissions

  • If using REFERRAL pipeline without a partner, ensure "Referral Partner Field Slug" is left empty or the field exists on your deal

Deal Value Not Syncing

Cause: Attio field slug doesn't match.

Solutions:

  1. Check your deal's value field slug in Attio (inspect the field settings)

  2. Set Deal Value Field Slug in app settings to match

  3. Common slugs: value, deal_value, amount

Stage Not Updating

Cause: Stage mapping not configured or stage names don't match.

Solutions:

  1. Verify Deal Stage Field Slug matches your Attio stage field

  2. Check Stage Mappings format: AttioStage:IntrozyStage,AttioStage2:IntrozyStage2

  3. Ensure Introzy stage names are spelled exactly as they appear in Settings → Pipelines

Webhook Returns 401 Unauthorized

Cause: Invalid or missing API key.

Solutions:

  • Format must be: Bearer YOUR_API_KEY (with space after "Bearer")

  • API key format: introzy_xxxx...

  • Generate a new key at Settings → API Keys if needed

Webhook Returns 400 Bad Request

Cause: Missing required fields.

Solutions:

  • Ensure deal_name is included and non-empty

  • Ensure contact_person_email is included and non-empty

  • Check the error message for which field is missing

Webhook Returns 307 Redirect

Cause: Incorrect URL (usually missing /api/attio/deals).

Solution: Use the full URL: https://app.introzy.com/api/attio/deals

Partner Stats Show $0 Revenue

Cause: Partner isn't linked as the Connector on any deals.

Solutions:

  • Verify the partner is the "Connector" (createdBy) on deals, not just a contact

  • Check that deals have a connectionId linking to a Connection where the partner is createdBy

  • Ensure deals have been sent to Finance in Introzy

Need Help?

Did this answer your question?