Daily lead source attribution from Follow Up Boss

Every morning at 7am ET, log yesterday's new Follow Up Boss leads to Google Sheets and post a top-sources summary to Slack.

Deterministic Code
Follow Up BossGoogle SheetsSlackSalesOperationsDaily DigestsData Sync
PromptCreate

Build a deterministic code workflow that runs every weekday at 7am ET and produces yesterday's lead source attribution report from Follow Up Boss. No AI rewriting or judgment calls. Same fixed pipeline every morning.

Trigger: cron, weekdays at 7am ET.

Step 1: Call Follow Up Boss List People filtered to people created in the previous 24 hours (createdAfter = yesterday 00:00 ET, createdBefore = today 00:00 ET). Paginate through all results.

Step 2: In code, group the returned people by their source field and count rows per source. For each source also collect the names of the new leads as a comma-joined string.

Step 3: Call Google Sheets Append Values on a tracking tab the user picks. Append one row per source with these columns in order: date (yesterday, YYYY-MM-DD), source, count, comma-joined names of the new leads from that source.

Step 4: After the sheet write succeeds, call Slack Send a Message to a channel the user picks. Post a single summary line that includes the total new leads, the top three sources by count (with their counts), and a link to the spreadsheet.

Keep this strictly code and CRUD. No model calls. If Follow Up Boss returns zero people for the window, still post the Slack summary saying zero new leads and skip the sheet append. Surface a clear error if the Follow Up Boss, Google Sheets, or Slack call fails.

What does this prompt do?

  • Pulls every lead created in Follow Up Boss in the last 24 hours and groups them by lead source.
  • Appends one row per source to a Google Sheets tracking tab with the date, source, lead count, and the names of the new leads.
  • Posts a single summary line to Slack with the total new leads, the top three sources, and a link to the spreadsheet.
  • Runs the exact same way every weekday so dead sources stand out and ROI per source is one tab away.

What do I need to use this?

  • A Follow Up Boss account with API access (Admin > API).
  • A Google account with edit access to the spreadsheet you want to log into.
  • A Slack workspace and a channel where the morning summary should post.

How can I customize it?

  • Change the schedule from 7am ET to whatever time fits your team's morning huddle.
  • Point it at a different Google Sheets tab, or add extra columns like assigned agent or stage.
  • Swap the Slack channel, or tweak the summary copy to highlight more than the top three sources.

FAQs

Does this work with any Follow Up Boss plan?
Yes. As long as you can generate an API key from the Admin > API page in Follow Up Boss, this workflow will run.
What if a lead source has zero new leads yesterday?
Sources with no new leads simply don't get a row that day. The Slack summary only mentions sources that actually produced leads, so empty sources stand out by their absence.
Can I change which Slack channel the summary posts to?
Yes. When you set the workflow up, you pick the channel, and you can change it any time without rebuilding the workflow.
Will this overwrite my existing Google Sheets data?
No. It only appends new rows to the bottom of the tracking tab, so your historical data stays intact and you build a clean day-by-day log over time.
What time zone does the 24-hour window use?
By default the workflow runs at 7am Eastern and pulls leads from the previous calendar day in Eastern time. You can shift it to any time zone that matches how your team reports.

Related templates

Auto-fix your calendar when a flight slips, and flag what's at risk

When your flight moves, your calendar times get corrected automatically and you get a Slack note naming the meetings you're about to miss.

Google Calendar
AviationStack
Slack
Agentic Task
Trace phishing emails to the sending IP and report abuse

Every 15 minutes, forwarded phishing reports get traced back to the server that really sent them, with a verdict in Slack and the worst senders reported.

AbuseIPDB
Gmail
Slack
Agentic Task
Weekly Amazon S3 bucket security audit posted to Slack

Every Monday, check every S3 bucket for public exposure, missing encryption and weak backup settings, then get the risks ranked in Slack.

Amazon S3
Slack Bot
Google Sheets
Agentic Task
Turn procurement portal tenders into CRM deals each morning

Every weekday at 7am, sign in to the tender portals you track, filter new notices against your bid criteria, and open a deal for the ones worth chasing.

Anchor Browser
Google Sheets
HubSpot
+1
Agentic Task
Draft polite follow-ups for emails that never got a reply

Every weekday at 4pm, spot the threads that went quiet, stage a ready-to-send nudge in your mailbox, and get a ranked Slack recap.

Aurinko
Google Sheets
Slack Bot
Agentic Task
Turn each week's football fixtures into a venue staffing plan

Every Monday, rank the week's matches by expected demand, put the big ones on your venue calendar, and post a rota-ready summary to Slack.

API-Sports
Google Calendar
Slack
Agentic Task

Stop guessing which lead sources are actually working.

Connect Follow Up Boss, Google Sheets, and Slack once, and Geni delivers the same source attribution report every weekday morning.