Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

Bibliothek / Lead-Generierung & Anreicherung

Lead-Generierung & Anreicherung

Finde und bewerte lokale Geschäftskontakte mit Apify, OpenAI, Sheets und Slack

Läuft täglich: Holt Unternehmen nach Kategorie und Stadt über OpenStreetMap via Apify, entfernt Ketten und Duplikate, reichert jeden Lead an, bewertet ihn und sendet die Ergebnisse an Sheets und Slack.

Was sie bewirkt

## Local business lead finder (OpenStreetMap data) Pulls businesses by category and city from OpenStreetMap through Apify, drops chains, dedupes against earlier runs, enriches (domain, clean phone, maps link) and scores each lead for your offer. Built for agencies, local service sellers and SDRs. ### How it works 1. Daily schedule / manual run reads every setting from Config. A weekly schedule uses the same Config to send a report instead of running the actor. 2. Starts the Apify actor asynchronously, then waits and polls the run; FAILED, ABORTED, TIMED-OUT or too many polls stop with an error. 3. Downloads the dataset, validates rows and dedupes within the run and across runs (workflow static data, dedupeMemoryDays). 4. A transparent rule score runs first, then an LLM chain with a structured output parser reads each record against your plain-English aiCriteria and returns a fit score, verdict, summary, outreach angle and red flags. Calls are batched with a delay for rate limits, retried, and fall back to the rule score if the model fails. 5. Upserts every row to Google Sheets. Hot rows go to Slack as one approve / dismiss message (send-and-wait, 24 h limit) and the decision is written back to the sheet; warm rows go to an HTML email digest; cold rows stay in the sheet. 6. Weekly report: reads the sheet, summarises the last 7 days (tiers, approvals, top 10) and emails it. 7. A separate Error Trigger branch posts any failure to Slack. ### Setup (about 15 minutes) 1. Create an HTTP Header Auth credential: name Authorization, value Bearer (Apify Console > Settings > API & Integrations). Select it on the 3 Apify HTTP nodes. 2. Create a Google Sheet with a tab named in sheetTab and a header row matching the sheet columns (see *Upsert to Google Sheets*, plus status and reviewedAt). Paste its ID into googleSheetId. 3. Connect OpenAI (or swap the chat model sub-node for Anthropic, Gemini, Ollama...), Slack and Gmail; set slackChannelId and digestEmail in Config (also the channel on *Slack: error alert*). 4. In Config set actorInput.categories and locations, then leadGoal: website (no-website businesses score highest, for web/SEO offers) or outreach (reachable businesses score highest). List chains to skip in excludeChains. 5. Write your ideal-lead description in aiCriteria; set aiWeight (0 = rules only, 1 = AI only). 6. Run once manual

Die Schritte

  1. Daily schedule
  2. Run manually
  3. Weekly report schedule
  4. Config
  5. Daily run or weekly report?
  6. Start Apify run
  7. Wait before polling
  8. Get run status
  9. Check run status
  10. Route by run status
  11. Stop: Apify run failed
  12. Fetch dataset items
  13. Validate and dedupe
  14. Any new records?

Insgesamt 35 Schritte.

Ähnliche Automatisierungen