Turn Instagram comments into HubSpot leads and DMs

Every 15 minutes, spot buying-intent comments on your latest posts, reply with a DM, and log the person as a new lead in HubSpot.

Agentic Task
InstagramHubSpotSalesMarketingLead EnrichmentResearch & Monitoring
PromptCreate

Build me an agent workflow that turns buying-intent comments on my Instagram posts into HubSpot leads with a personalized DM reply. Run it on a cron every 15 minutes.

On each run, the agent should:

1. Use Instagram List Media to grab the 5 to 10 most recent posts on my connected Business or Creator account.

2. For each of those posts, use Instagram List Comments to pull the top-level comments. Focus on comments left since the last run.

3. Classify each comment into one of four buckets: product interest (asking about price, saying "how do I get this", "DM me", tagging a friend to buy, asking where to order, asking if something is in stock), support question, compliment or generic reaction, or spam. Only product interest comments should trigger the full flow.

4. Before acting on a product interest comment, check the comment thread and skip it if my own account has already replied. This dedupe step is critical so we never double message someone.

5. For each qualifying new comment, do three things in order:

a. Use Instagram Reply to Comment to post a short public acknowledgment like "Sent you a DM with details!" so other viewers see the response.

b. Use Instagram Send Direct Message to message the commenter with a personalized note that references what they specifically asked about, plus the product link I configure.

c. Use HubSpot Create Contact to add the commenter with lifecycle stage set to lead and source set to Instagram. Use their Instagram handle for the contact name if that is all we have. Then use HubSpot Create Note associated with that contact, capturing the original comment text and which post they engaged with (post caption or link).

Make the DM template, the public reply template, the product link, and the classification examples all easy for me to edit at the top of the instructions. Keep the agent conservative: when in doubt about whether a comment is a real buying signal, skip it rather than message.

At the end of each run, log a one-line summary of how many comments were scanned, how many qualified, how many DMs were sent, and how many HubSpot contacts were created.

Additional information

What does this prompt do?
  • Checks your recent Instagram posts every 15 minutes and reads the newest comments.
  • Uses AI to spot real buying signals like price questions, DM requests, and friend tags, and ignores compliments, support questions, and spam.
  • Replies publicly to keep the conversation going, then sends a personalized Direct Message with a link that matches what the person asked about.
  • Creates a HubSpot contact with the lead lifecycle stage, tags the source as Instagram, and attaches a note with the original comment and which post it came from.
  • Skips any comment it has already replied to, so no one gets messaged twice.
What do I need to use this?
  • An Instagram Business or Creator account connected to a Facebook Page.
  • A HubSpot account where you can create contacts and notes.
  • A short description of what you sell and the link you want to share in DMs.
How can I customize it?
  • Change the check frequency if 15 minutes is too fast or too slow for your posting volume.
  • Tune what counts as buying intent by editing the examples the agent uses to classify comments.
  • Swap the public reply wording, DM template, and destination link so it matches your brand voice.
  • Pick a different HubSpot lifecycle stage or lead source label, or route the contact to a specific owner.

Frequently asked questions

Do I need a Business or Creator Instagram account?
Yes. Personal Instagram accounts cannot be reached by the Instagram API, so this only works with a Business or Creator profile that is linked to a Facebook Page.
Will the same person get messaged twice if they comment again?
No. The agent checks each comment thread for a reply from your own account before doing anything, so anyone you have already engaged with gets skipped on later runs.
Can I use this with a different CRM instead of HubSpot?
Yes. Once the workflow is generated you can ask Geni to swap HubSpot for Salesforce, Pipedrive, Attio, or any other CRM you have connected.
How does it decide what counts as a buying signal?
An AI step classifies each comment as product interest, support, compliment, or spam. Only clear intent signals like asking about price, requesting a DM, or tagging a friend to buy get the full lead treatment.
What if I do not want it to send DMs automatically?
You can turn off the Direct Message step and keep just the public reply plus the HubSpot contact, or route DMs to a human for review before sending.

Stop losing warm buyers in your Instagram comments.

Connect Instagram and HubSpot once, and Geni turns every buying-intent comment into a personalized DM and a fresh CRM lead, all day long.