Daily Gmail drafts for companies that visited your pricing page

By General Input

Every morning, find the companies that visited your pricing or demo page yesterday, identify the right buyer, and stage a personalised email in Gmail drafts for one-click review.

Integrations

  • Leadfeeder
  • Apollo
  • Gmail

Type

Agentic Task

Categories

  • Sales
  • Marketing

Every morning at 7:30am, draft personalised outbound emails in Gmail for the companies that hit our pricing or demo page yesterday. The emails should land in my Gmail drafts folder for human review and one-click send, not be sent automatically.

Trigger: cron, every day at 7:30am in my local timezone.

Step 1: Call Leadfeeder's List Leads against my custom feed named "Pricing and Demo Visitors" for yesterday's date range (start_date and end_date both set to yesterday). Cap the day at the top 10 companies (rank by total visits or time-on-site if available). If the feed name is not known at build time, ask me which custom feed to use.

Step 2: For each lead, call Leadfeeder's List Visits For Lead to grab the specific page paths and time-on-page from yesterday's session(s). Keep this so the email can reference exactly what they looked at (for example, "saw your team was looking at our pricing page yesterday" or "noticed someone spent a few minutes on the demo page").

Step 3: For each company, call Apollo's People Search filtered by the company domain and a target seniority set of VP, Director, and Head Of, within the revenue, sales, marketing, or operations functions, picking whichever fits the buyer persona best. Use your judgement to pick the single best contact per company based on title fit. Note: People Search does not return emails.

Step 4: Call Apollo's People Enrichment on the chosen contact to retrieve a verified work email. If no verified email comes back, skip that company for the day rather than guessing.

Step 5: Generate a short personalised outreach email (subject and body). The opening line should softly reference the visit and the specific page(s). The middle should connect a benefit relevant to the contact's role and function (revenue, sales, marketing, or ops). The close should be a low-friction CTA (for example, a single yes/no question or a 15-minute call offer). Keep it under 120 words and conversational, not formal.

Step 6: Call Gmail's Create a Draft for the authenticated user, with the verified email as the To address, the generated subject, and the generated body. Do not send. Drafts only.

Guardrails: cap at 10 companies per run to keep Apollo credits bounded. Skip any company where we cannot find a verified email. Do not draft to generic role addresses like info@ or sales@ unless I explicitly enable that as a fallback. Do not draft duplicates for the same company within a 30-day window (track recent recipients so we do not re-poke the same buyer).

Tell me my buyer persona once during setup (industry, company size, what we sell, and the role we typically pitch) so the agent can pick the right Apollo contact and write a relevant benefit.

Related prompts

Explore more prompts
Win back LiveChat visitors whose chats went unansweredChase the paperwork every new client and vendor still owesFile Gmail attachments into storage with names you can findA website visitor queue that remembers what you hideSee which open deals are still reading your websiteCandidate rediscovery desk for your archived Lever applicantsContent intent board: which pages pull in target accountsLaytime and demurrage claim workspace for chartering opsKajabi customer support console for member access fixesRun your application review round on Jotform submissions