Skip to content

AI agents for sales: build an AI SDR

Reps spend the morning researching accounts and writing the same first email. An AI SDR does the research and the draft, and the rep approves the send.

Last reviewed November 2026

App, built with Tray Helix

The short answer

An AI SDR is an AI agent for sales that does a sales development rep's legwork. It reads a target account, finds the right contact, picks the reason to reach out now, and drafts a first email and a follow-up. Sending is a tool marked for approval, so the rep sees the exact email before it goes. Each send is logged to the CRM with the research behind it.

ai-sdr.helix-app.ai

AI SDR

42

Accounts researched

18

Drafts awaiting approval

9

Sent today

Account Contact Reason to reach out now Draft Owner
Northwind Logistics Priya Rao, VP Operations Opened 3 new warehouses this quarter Email 1 of 2 J. Alvarez
Brightline Health Tom Reyes, Head of IT Hiring 4 integration engineers Email 1 of 2 M. Okafor
Kestrel Freight Ana Lund, CFO Announced a new ERP rollout Email 1 of 2 J. Alvarez
Orbit Packaging Sam Weber, COO Already an open opportunity Skipped R. Kim
A sketch of the day's queue. Each draft names why now, and an account with an open opportunity is skipped.

What matters here

  • An AI SDR researches the account and the contact, drafts the outreach and logs it in the CRM. The rep stays the sender.
  • Sending an email is a tool marked for approval, so the rep reads the exact message first. Approval is a setting on each tool, so you decide what runs alone.
  • Every draft names the reason to reach out now, such as a funding round or a new hire, so the rep can check it in seconds.
  • The agent checks the CRM before it drafts, so it never emails an open opportunity or a contact who asked to stop.
  • Every run is logged under the account that started it: the research, the draft, who approved and when.

Who this is for

You run sales development or sales operations. Your reps know who to target, and the time goes on research, copy and logging. You want more good first touches, not more volume.

How it works in practice

One target account, from a name on a list to an email a rep approves.

  1. 1

    A target account comes up

    A scheduled function picks the day's accounts from your list, or a Tray workflow calls the app when a new lead arrives.

  2. 2

    The agent checks the CRM first

    It skips accounts with an open opportunity, an owner who is mid-conversation, or a contact marked do not contact.

  3. 3

    It researches the account

    Company size, recent news and hiring, and who holds the buying role, from your contact data source.

  4. 4

    It drafts the outreach

    A first email and a follow-up, each built on one specific reason to reach out now, in your tone.

  5. 5

    The rep approves

    send_email is marked for approval, so the run pauses and shows the exact message. The rep sends, edits or declines.

  6. 6

    It sends and logs

    The agent sends the approved email, logs the activity on the account in the CRM, and schedules the follow-up.

What an AI SDR is made of

Research tools that only read, and one send tool that waits for a person.

Your target list and rules

Which accounts to work, which roles to reach, and who never to email, kept in the app's database where sales operations can edit them.

Research tools

Check the CRM, read company news and hiring, and find the contact. Read only.

A draft tool

Saves the email and follow-up on the account. It has no way to send.

A send tool, gated

send_email is marked for approval, so every message waits for the rep.

The prompts

Paste these into Claude Code, Codex or Cursor in order. Each one leaves you with something that runs, so you can stop after any step.

These prompts start from a Helix project, which is what handles sign-in, credentials and hosting. Start with Helix.

1

Targets, rules and the approval queue

Who to work, and where drafts wait.

Claude Code, Codex or Cursor

Create a Helix app: an AI SDR with an approval queue for our reps.

Store target accounts with a name, domain, owner and status. Store a do-not-contact list, the roles we sell to, and our tone of voice as a short style guide that sales operations can edit.

Store drafts with the account, the contact, the reason to reach out now, the email, the follow-up, and the outcome (waiting, sent, edited, declined) with who decided and when.

Show each rep their own waiting drafts, with send, edit and decline on each, and a way to approve several at once.

2

The agent and its tools

Check, research, draft, wait.

Claude Code, Codex or Cursor

Add an agent to the app that works each target account.

Give it these tools:

- check_crm: return the account's open opportunities, owner, last

activity and any do-not-contact flag.

- research_account: return company news, hiring and size.

- find_contact: return the person who holds the buying role, with their

title.

- draft_outreach: save a first email and a follow-up on the account. It

must not send anything.

- send_email: send an approved email from our sales mailbox, with the

account owner in copy.

- log_activity: record the send on the account in the CRM.

Mark send_email as needing approval every time.

Always call check_crm first. If the account has an open opportunity or a do-not-contact flag, skip it and say why. Otherwise research it, pick one specific reason to reach out now, and draft the email around that reason in our style guide. If you cannot find a real reason, say so and do not draft.

Asking the agent to skip accounts when it has no real reason keeps the queue short and the approvals meaningful.
3

Run it each morning

Drafts ready before the day starts.

Claude Code, Codex or Cursor

Run the agent each morning over the day's target accounts, and whenever a new lead is created.

Post each rep a Slack message with how many drafts they have waiting and a link to their queue.

Show a weekly view: accounts researched, drafts sent, edited and declined, and replies by owner.

4

Connect it to real systems

Your CRM, your contact data, your mailbox.

Claude Code, Codex or Cursor

Now connect it to the systems we actually run.

Anything in angle brackets is a placeholder. Swap it for whatever we use.

<Salesforce>. Read accounts, opportunities and contacts, and log an activity when an email is sent.

<Apollo>. Read company and contact data for research_account and find_contact.

<Gmail>. Send from our sales mailbox when send_email is approved.

<Slack>. Send each rep their morning summary.

Only write through send_email and log_activity. Everything else is read only.

Tray holds each credential as a workspace authentication, so the app references a name and never the secret itself.
5

Ship it

A URL, and the reps on it.

Claude Code, Codex or Cursor

Deploy my app.

Your assistant runs helix deploy and the app comes back as a URL. Set Access Control so each rep sees and approves only their own accounts.

What it connects to

The agent reads the CRM and your contact data, and writes only through the tools that wait for approval.

Named systems are the ones most teams actually run, not a list of the only ones that work. Swap in whatever you use.

Running it for real

The build gets you a working agent. It writes to customers in your name, so approval, credentials and the record matter most.

  1. 1

    Deploy the app and its agent together

    One command, or Deploy from CI on every merge, takes the app to a live URL. The agent ships with its app, so you can roll back any deployment.

  2. 2

    Approval before anything is sent

    send_email waits for the rep every time, who sees the exact message. SSO decides who owns which accounts.

  3. 3

    Credentials held by Tray

    The CRM and mailbox credentials are held in Tray, not in the code, so they can be rotated without a redeploy.

  4. 4

    A named owner and every step logged

    The app and its agent have a named owner. Every run, draft, approval and send is logged, and Tray streams the logs to your SIEM.

  5. 5

    Know what each account costs

    AI usage shows per app, so the cost of research and drafting is visible next to the accounts it worked.

Questions people ask

What is an AI SDR?

An AI SDR is an AI agent that does the legwork of a sales development rep: it researches a target account, finds the right contact, drafts the outreach and logs it in the CRM. In this build the rep approves each send.

What can AI agents do for sales teams?

They take the work around the conversation: researching an account before a call, drafting first touches and follow-ups, logging activity, and cleaning the CRM so routing and reports are right. The CRM hygiene agent covers that last job. Anything that reaches a customer or changes a record waits for a person to approve it.

Can an AI SDR send emails on its own?

It can, if you let it. Approval is a setting on each tool. Start with send_email marked for approval so the rep reads the exact message first, and relax it for a segment once the drafts have earned it.

How does the agent avoid emailing the wrong people?

It calls check_crm before it drafts anything. An account with an open opportunity, a mid-conversation owner or a do-not-contact flag is skipped with the reason shown in the run.

Does it work with Salesforce or HubSpot?

Yes. The agent's tools reach your CRM, contact data and inbox through Tray, which connects to 12,000+ apps, databases, APIs, and services. Writes still wait for approval.

Build it, then run it properly

Helix is the governed runtime for AI-built apps and agents. Deploy what you build, put SSO in front of it, connect it to your systems with managed credentials, and give it a named owner.