All skills
facebook Lead Generation & Sales

Local Buying-Intent Lead Capture

Catch locals the moment they post that they need exactly what you sell

Run this skill with your agent
1. Connect the MCP server
https://apidirect.io/mcp?token=YOUR_API_KEY
2. Then just say to your agent
Find fresh leads in {city} who are posting that they're {intent_phrase}
In clients that support MCP prompts (Claude Desktop, Claude Code, Cursor) this skill appears as a prompt named local-buying-intent-capture. Any agent can also call get_skill(skill_id="local-buying-intent-capture") to pull these steps on demand.

What it does

People announce life events and service needs in geo-tagged Facebook posts and neighborhood groups before they ever Google a provider. This skill geofences a metro and mines both public posts and a local community group for that real-time intent.

Who it's for: Realtors, local service businesses, and territory reps

Inputs

Input Required Description Example
city Yes Target metro or city to geofence Austin, Texas
intent_phrase Yes The buying-intent phrase a local would post looking for a realtor
group_url No URL of a local Facebook community/newcomers group to also mine https://www.facebook.com/groups/austinnewcomers

How your agent runs it

  1. 1
    search_facebook_locations(query={city})

    Resolve the metro to its numeric location_id for geo-scoped searching.

  2. 2
    search_facebook_posts(query="{intent_phrase}", location_id=<location_id>, sort_by=most_recent, get_sentiment=true)

    Surface fresh geo-tagged public posts signaling active need and keep ones expressing clear intent.

  3. 3
    facebook_group_details(url={group_url})

    Resolve the local community/newcomers group to its group_id.

  4. 4
    facebook_group_search(query="{intent_phrase}", group_id=<group_id>, get_sentiment=true)

    Mine the same intent inside the group, where high-intent residents often post first.

Delivers: A live, deduped feed of local residents in {city} signaling active intent, each with the post link for direct outreach

Tools used

The full playbook

This is exactly what the MCP returns to your agent (via the local-buying-intent-capture prompt or get_skill tool), with your inputs filled in.

SKILL: Local Buying-Intent Lead Capture
People announce life events and service needs in geo-tagged Facebook posts and neighborhood groups before they ever Google a provider. This skill geofences a metro and mines both public posts and a local community group for that real-time intent.

You are running this skill on API Direct via its MCP tools. Execute the steps below yourself by calling the named tools in order — values in <angle brackets> come from a previous step. Then deliver the result described at the end.

INPUTS:
  - city (required): <city — ASK THE USER>
  - intent_phrase (required): <intent_phrase — ASK THE USER>
  - group_url (optional): (optional — e.g. https://www.facebook.com/groups/austinnewcomers)

STEPS:
  1. Tool `search_facebook_locations` — search_facebook_locations(query=<city>)
     Resolve the metro to its numeric location_id for geo-scoped searching.
  2. Tool `search_facebook_posts` — search_facebook_posts(query="<intent_phrase>", location_id=<location_id>, sort_by=most_recent, get_sentiment=true)
     Surface fresh geo-tagged public posts signaling active need and keep ones expressing clear intent.
  3. Tool `facebook_group_details` — facebook_group_details(url=<group_url>)
     Resolve the local community/newcomers group to its group_id.
  4. Tool `facebook_group_search` — facebook_group_search(query="<intent_phrase>", group_id=<group_id>, get_sentiment=true)
     Mine the same intent inside the group, where high-intent residents often post first.

DELIVER: A live, deduped feed of local residents in <city> signaling active intent, each with the post link for direct outreach

Note: each underlying tool call is billed at its normal endpoint price; get_sentiment adds a small per-page surcharge. Page through results as needed but stop once you have enough to deliver the outcome.