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

# Rift

> Manage contacts and campaigns with Rift

Rift is a sales engagement platform for managing outreach campaigns. The Cargo integration enables you to create and update contacts, and enroll them into campaigns.

## Authentication

Connect to Rift using your API key.

### Connection details

| Field       | Description       |
| ----------- | ----------------- |
| **API Key** | Your Rift API key |

***

## Rift actions

### Upsert contact

Create a new contact or update an existing one based on email address. Optionally enroll the contact into a campaign.

**Configuration**

| Field               | Description                      |
| ------------------- | -------------------------------- |
| **Email**           | Contact's email (required)       |
| **First name**      | Contact's first name             |
| **Last name**       | Contact's last name              |
| **Company**         | Company name                     |
| **Phone**           | Phone number                     |
| **Title**           | Job title                        |
| **LinkedIn**        | LinkedIn profile URL             |
| **Custom mappings** | Additional custom field mappings |

**Campaign enrollment (optional)**

| Field                    | Description                                 |
| ------------------------ | ------------------------------------------- |
| **Campaign**             | Campaign to enroll the contact into         |
| **Unenroll**             | Unenroll from other campaigns first         |
| **Launch**               | Launch the campaign if not running          |
| **Variables validation** | Validate all campaign variables are present |

***

## Use cases

<AccordionGroup>
  <Accordion title="Lead routing" icon="route">
    Route qualified leads directly into outreach campaigns.
  </Accordion>

  <Accordion title="Contact sync" icon="sync">
    Sync contact data from other systems to Rift.
  </Accordion>

  <Accordion title="Campaign enrollment" icon="play">
    Automatically enroll contacts in campaigns based on triggers.
  </Accordion>
</AccordionGroup>

***

## Best practices

1. **Use unenroll wisely** - Only unenroll when you want to force campaign reassignment
2. **Validate variables** - Enable variable validation to catch missing personalization data
3. **Map custom fields** - Use custom mappings for additional contact properties
