Grok Bot + Clay: build and check GTM workflows through the Clay CLI
Install Clay's agent plugin on your Bot's cloud computer so a Grok Bot can build Clay workflows from a chat or voice description, then read the results and suggest fixes while Clay runs the rows.
How does an AI agent stack for outbound prospecting with Clay work?
In this AI agent workflow stack for outbound prospecting, a Grok Bot uses Clay's agent plugin and CLI to build Clay workflows from a chat or voice description, then reads the results and suggests fixes while Clay runs the rows. Only Admin and Editor users can sign in, CLI runs use Clay credits, and campaigns stay in draft.
Setup
- Check your Clay role first: only Admin and Editor users can sign in to the Clay CLI. Clay's agent plugin, which includes the CLI, is in open beta on Mac and Linux.
- Ask your Bot to set up the Clay plugin by following the steps in github.com/clay-run/agent-plugins, as Clay's quickstart suggests. The plugin's setup puts the clay CLI on the Bot's computer and starts the sign-in.
- Sign in with clay login --device, since you can't use a browser on the Bot's computer: open the printed link on your phone or laptop, approve the sign-in and pick the workspace.
- Have the Bot run clay whoami, which Clay calls the canonical check that sign-in worked.
- Give each Bot one job (list building, copy, deliverability) and tell it to build new things as Clay Workflows and keep campaigns in draft until you say go live.
Starter prompt
- Context / Role
Grok Bot with Clay (documented setup). Do the setup steps above first.
- The copy-paste prompt
Starter promptWritten by our editors from the source You build and maintain our outbound workflows in Clay using the Clay CLI. Rules: - Build new things as Clay Workflows, not tables. - ICP: [definition]. Never target anyone outside it. - Reuse our existing functions for [scoring / routing] instead of writing new logic. - Only send to emails that pass validation, and keep every campaign in draft until I say go live. First task: review our existing Clay tables and write a preference guide (which data provider for which job, how we build our email waterfall) and save it to [location]. Then wait for my first campaign brief.- Variables to customize
- [definition]
- [scoring / routing]
- [location]
- Expected output / next step
A preference guide saved to [location] (which data provider for which job, how you build your email waterfall), then a Bot that waits for your first campaign brief and keeps every campaign in draft until you say go live.
Stack next step: Grok Bot + Claude Code and Codex CLIs: route each task to a model.
Business fit
How this stack helps specific businesses:
Watch-outs
- Clay's quickstart lists Claude Code, Codex and Cursor as plugin hosts; the Grok Bot setup is shown in Clay's blog, not its docs. Test before relying on it.
- A CLI session has edit rights to the workspace and its credentials sit in a config file on the Bot's computer; Clay says to treat that file as a live credential.
- CLI runs use the same Clay credits and actions as work done in the app.
- Whatever you type and whatever the CLI returns is processed by the agent's provider, per Clay's security page.
Workflows on this page at a glance
The starter prompt, then the use cases and prompts linked below. Input data is what each prompt asks you to fill in; the last column is what it produces, or the time or money result the source states.
| Workflow / use case | Primary AI role / tool slot | Input data | Expected business output / time saved |
|---|---|---|---|
| Starter prompt for this stack | Grok Bot + Clay | [definition]; [scoring / routing]; [location] | Expected outputA preference guide saved to [location] (which data provider for which job, how you build your email waterfall), then a Bot that waits for your first campaign brief and keeps every campaign in draft until you say go live. |
| An Outbound Agency Has Grok Bot Build Clay Workflows and Review Every Campaign Daily | Grok Bot, Clay, Grok Build CLI +3 (Approve-to-send) | [client]; [the hand-written templates and the one slot you may vary]; [ICP definition and filters]; [positive replies / booked meetings]; [number]; [channel] | Time savedNot published: the source gives no time or money figure |
| A Revenue Team That Had Never Shipped Code Built Its Own Call Review Tools in Claude Code | Claude Code, n8n, Clay +4 (Assisted) | None: the prompt runs as written | Money$200K+ in pipeline after one fix |
| Choose which industry to sell to with a 15-minute AI research pass | ChatGPT, Claude, Clay (Assisted) | [OFFER]; [PRICE]; [CANDIDATE_MARKETS]; [CONSTRAINTS] | Time15 minutes; sales result not reported |
Related
- Evidence grade CAn Outbound Agency Has Grok Bot Build Clay Workflows and Review Every Campaign DailyVendor or secondhand, using Grok Bot, Clay and Grok Build CLI
- Evidence grade CA Revenue Team That Had Never Shipped Code Built Its Own Call Review Tools in Claude CodeVendor or secondhand, using Claude Code, n8n and Clay
- Evidence grade BChoose which industry to sell to with a 15-minute AI research passStrong evidence, using ChatGPT, Claude and Clay
- Grok Bot + Claude Code and Codex CLIs: route each task to a modelStack
- Grok Bot + n8n or Make: fixed workflows hand the judgment to a BotStack
- AI for salesDepartment hub, 34 examples
Related stacks and workflows
- Sales AI prompts to copyThe Sales workflow pack: all 34 prompts on one page
- Single purpose AI botBot structure: One Bot, one job
- AI agent approval gates human in the loopBot structure: Approval gates: Bots do the work, you keep the irreversible clicks
- Overnight prospect research promptSales prompt: Overnight prospect research, with outreach drafts to approve each morning
- Prep pack for every sales meeting promptSales prompt: A prep pack for every sales meeting, ready before you join
- AI prompt to answer inbound sales leadsSales prompt: Answer inbound leads in minutes from the Bot's own email address
- First steps with ChatGPT for businessPlaybook: First 48 hours with AI: four free tasks that use your own business
- Ask customers for Google reviewsPlaybook: Missed call to booked job: four AI steps for local service pros
- Copy paste AI agent prompts by roleAll 18 Grok Bot prompts, by role
- AI agent integrationsAll 8 Grok Bot stacks
Know what you want to show here?Book this slot on Shopify
