LEAD GENERATION
Route event scans to the right rep by territory using a Postgres ownership table
Resolves each scanned attendee against a Postgres account-ownership table to find the rep who owns that company or territory.
How it runs
The automated pipeline, trigger to output.
- TriggerScan batch posted to webhookHTTP webhook
- LogicDedupe batch and extract company domains
- ActionResolve owner from Postgres ownership tablePostgres
- LogicBranch: owned domain vs round-robin fallback
- ActionCreate assigned lead in HubSpotHubSpot
- OutputNotify assigned rep in SlackSlack
What it does
Your source of truth for who owns which account isn't the CRM — it's a Postgres ownership table keyed by company domain and territory rules. This workflow takes event scans, asks Postgres who the rightful owner is, and creates the HubSpot lead already assigned to that rep, falling back to a round-robin pool when no owner exists.
When to use it
Use it when account ownership is governed by a database (named accounts, geo territories, segment rules) rather than CRM assignment. Run it on each batch of scans so routing always reflects the live ownership model.
How it works
- 1A webhook receives a batch of scanned attendees.
- 2The flow dedupes the batch and extracts each company domain.
- 3Each domain is queried against the Postgres ownership table to resolve the owning rep or territory.
- 4A branch handles owned domains versus unowned ones (sent to a round-robin fallback).
- 5A HubSpot contact and lead are created, pre-assigned to the resolved owner.
- 6The assigned rep is notified in Slack with the lead and the matched territory rule.
Set it up
What you configure once, before turning it on.
- 1Connect HTTP webhookTrigger any URL on agent actions.
- 2Connect PostgresAny Postgres URL — query, write, migrate.
- 3Connect HubSpotCRM, deals, marketing, support.
- 4Connect SlackChannels, DMs, threads, mentions.
- 5Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 6Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 7Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Lead Generation workflows
Instantly triage uploaded badge CSVs and notify the SDR lead
Accepts a badge-scan CSV via webhook, validates and dedupes it on the spot, checks each attendee against HubSpot.
Score Zoom webinar poll answers into a tiered outreach queue
When a Zoom webinar ends, pull each attendee's poll responses, compute an intent score, and write a tiered (Hot/Warm/Cold) outreach queue to Airtable for the sales team to work.
Classify open-text webinar poll answers with AI and enrich the lead record
For webinars that use free-text poll questions, an AI step reads each attendee's written answers, classifies intent and pain points into structured fields.
Fast-track hot webinar leads into HubSpot and ping the rep on Slack
After a webinar, identify attendees whose poll answers signal high purchase intent, create or update their HubSpot contact with a lead score.
Agent-driven Brave intent harvest with enrichment and Gmail draft outreach
A CEO-driven agent harvests intent signals from Brave, enriches each prospect via web research, writes a personalized cold email.
Manual Brave keyword sweep into an Airtable research board
On demand, sweeps a topic across Brave Search, clusters the results by buying stage with an LLM, and writes a deduplicated research board to Airtable with company, source URL.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
