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

# Outreach

> Tools for drafting and sending messages to candidates.

Messages go to real candidates, in your name. By default your AI tool stages each message and waits for you to confirm. See [How it works](https://docs.cord.com/use/how-it-works.md) and [Autonomy levels](https://docs.cord.com/use/autonomy.md).

## Names in messages

Write `{{first_name}}` and `{{sender_name}}` in a message. cord fills them in when the message is sent: the candidate's first name, and the name on your own cord account. Your AI tool never needs to see the real name.

## list\_invite\_types

Your own interview invite types: id, name, kind and duration. Use the id as `inviteTypeID` to attach an invite to a message, so the candidate can book a slot. Only your own invites are returned, and nothing else about them.

**Permission:** read company

You can attach an invite to a first message ([`prepare_outreach`](#prepare_outreach)), a reply ([`prepare_reply`](#prepare_reply)) or an accepted request ([`prepare_pipeline_action`](https://docs.cord.com/reference/tools-positions#prepare_pipeline_action) with `accept`). The approval names the invite, for example "Interview invite: Intro call (video, 30 min)", so you see which one is being sent. If your calendar has no free slots for that invite, cord says so and nothing is sent.

## get\_ai\_preferences

Your company's AI outreach preferences: tone, length, interview type, and whether AI outreach is turned on. Useful context before drafting.

**Permission:** read company

## generate\_ai\_outreach

Generate a suggested message from cord's AI for one candidate and position, using your company's preferences. It returns a draft for you to review. It doesn't send anything. It can be slow, because the message is written on demand.

**Permission:** send messages

| Input | Notes |
| - | - |
| `handle` | The candidate's handle |
| `listingId` | The position to tailor it to |

## prepare\_outreach

Stage first-contact messages for a position.

**Permission:** send messages

| Input | Notes |
| - | - |
| `listingId` | The position |
| `messages` | Preferred. Your finished text for each candidate, as a list of `{ handle, message }`. It's sent exactly as written. |
| `handles` | An alternative: cord drafts a generic template for each candidate |
| `instructions` | A steer on tone. Only used with `handles`. |
| `inviteTypeID` | Optional. Attaches one of your interview invites, from `list_invite_types`, to every message in the batch. |

You must give either `messages` or `handles`. You see the exact text before anything is sent, and you can edit it when you confirm.

## prepare\_reply

Stage a reply in a conversation that already exists. Use this rather than `prepare_outreach` once a candidate has replied.

**Permission:** send messages

| Input | Notes |
| - | - |
| `listingId` | The position |
| `handle` | The candidate. Find them with `list_pipeline` and `stage` set to `conversation`. |
| `message` | The reply text |
| `inviteTypeID` | Optional. Attaches one of your interview invites, from `list_invite_types`. |

Accepting or declining a request can also send a message. That is on the [Positions and pipeline](https://docs.cord.com/reference/tools-positions.md#prepare_pipeline_action) page, together with `generate_decline_message`, which drafts a decline.


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