Weekly Leadfeeder target-account visits into Pipedrive

By General Input

Every Monday at 8am, log last week's target-account website visits as Pipedrive notes and stage a next-step follow-up for the account owner.

Integrations

  • Leadfeeder
  • Pipedrive

Type

Agentic Task

Categories

  • Sales

Build an agent workflow that runs every Monday at 8am on a cron trigger. The goal: take the past week of Leadfeeder website visits from my target-account custom feed and push that intent context into Pipedrive so my reps see it on the accounts they own.

At setup time, let me configure: (1) which Leadfeeder custom feed represents target accounts (use List Custom Feeds to let me pick from a list), (2) the high-intent threshold for auto-creating a missing Pipedrive organization (default: 2+ pricing or demo page hits in the week), and (3) the default Pipedrive activity type for follow-ups (default: task).

Each Monday run should do the following. First, compute last week's date range in YYYY-MM-DD (previous Monday through Sunday). Then call Leadfeeder List Leads filtered by custom_feed_id and that start_date/end_date to get the visiting companies in the target-account feed. For each company, call Leadfeeder List Visits For Lead to gather visit count, visit dates, and top-viewed pages.

Then for each visiting company, use Pipedrive Search Organizations by company name to find a match. Handle fuzzy matching: strip common suffixes (Inc, LLC, Ltd, GmbH, Co) and normalize case before comparing, and treat a high similarity score as a match. If a match exists, use Pipedrive Search Deals to see if there are any open deals for that organization.

For each matched organization, use Pipedrive Create Note (content field is HTML) to attach a short human-readable summary to the organization (and to any open deal if one exists). The note should include: visit count, visit dates, a small bulleted list of the top viewed pages (pricing, product, docs, etc.), and a one-line recommended next step tailored to what they viewed. Then use Pipedrive Create Activity to create a dated follow-up on the organization (or the open deal, if any) assigned to the org or deal owner. Pick an appropriate next step per intent pattern: pricing pages = pricing follow-up email, product/feature pages = case study share, demo or contact pages = demo invite, docs = technical check-in.

If a visiting company has no Pipedrive Organization match AND crossed the configured high-intent threshold, use Pipedrive Create Organization to create it first, then attach the note and activity as above. Skip creation for low-intent visitors that don't yet warrant a record.

Notes:

- Leadfeeder List Leads is capped at 10,000 results per date range, which is comfortably above a normal week for a single feed. Paginate if needed using page[number]/page[size].

- Keep the Pipedrive note body short and skimmable (HTML, a few sentences plus a small list). Reps read these on mobile.

- Be judicious about org matching. A single fuzzy match with a decent score is fine; if the top two matches are equally plausible, skip the auto-attach for that company and log it so I can review manually.

- Set the activity due date to today (Monday) or tomorrow so it lands in the rep's plan-the-week view.

Related prompts

Explore more prompts
Stop cold emails to anyone with a live deal in PipedriveTurn the people who engage with your posts into Pipedrive leadsA website visitor queue that remembers what you hideSee which open deals are still reading your websiteOutbound revenue attribution board for Mailshake and PipedriveContent intent board: which pages pull in target accountsProspecting workbench for Findymail lead search and PipedriveUK territory builder that pushes accounts to PipedriveSync ICP website visitors from Leadfeeder to HubSpot dailyDaily Slack digest of yesterday's hottest website visitors