Session 10
Instagram Agent and Lead Capture
This is the first practical step for bringing Instagram into your sales system. The goal is not mass outreach. The goal is to read DMs, review inbound interest, capture real leads into a CRM, and make follow-up cleaner.
Claude Dangerously Skip Permissions
Open your terminal and start Claude Code
Start the workshop by opening Claude Code in Dangerously Skip Permissions so you are not approving every small step during setup.
Start Claude Code in Dangerously Skip Permissions for this workshop session. Confirm you are in the right project folder before making changes.Heads Up
Install and Log Into the Instagram Agent
Install the Instagram agent with one prompt
Public repo: https://github.com/josephtandle/instagram-agent
Use one prompt only. This should handle Mac, Windows, or Linux, install the repo, save the absolute install path, and verify whether the `instagram` command works.
What success looks like
Saved path
The install path is saved
The installer writes the resolved absolute path into `~/.instagram-agent/install.json`.
Ready
The command works
`instagram status` returns a result, or the fallback launcher command works from the saved install directory.
Inbox access
You can read the inbox
The next useful command is `instagram read-dms --limit 20` so you can start reviewing conversations for CRM capture.
Log into the Instagram account this agent will use
Before this is actually useful, you need a live Instagram login session for the account you want the agent to read. Installation alone is not enough.
Open Instagram, log into the correct account, and then make sure the agent saves the session successfully before you try any CRM workflow.
What It Can Do and How to Use It
What the Instagram agent can do
Once installed, this agent gives you a practical Instagram toolbelt. The safest and most useful part is the read-and-research side.
What it can do
- Can read DMs
- Can read comments
- Can get information from profiles
- Can send DMs
- Can post to your story
- Can post reels
- Can post carousels
Recommended first use
Start with `read-dms`, `read-comments`, and profile research. That is the cleanest path for reviewing inbound interest and moving real opportunities into your CRM.
Recommended uses and recommended non-uses
Recommended uses
- read Instagram DM threads
- review comments and interest signals
- research profiles before a reply or sales call
- capture leads into your CRM
- prepare better follow-up notes
- review inbound activity before a launch or offer push
Recommended non-uses
- do not use it for mass DMs
- do not blast outbound automation
- do not send large-volume campaigns from this setup
- if you send anything, keep it to only a couple per day
- do not use it as your permanent production integration
- do not assume this is risk-free just because it works technically
Risks and the Right Long-Term Path
Reality and dangers
This agent uses an unofficial private API. That means it can be useful, but it is not the same as having a clean, officially supported Meta integration.
Heads Up
Main risks
- account restrictions or rate limits if you act too aggressively
- fragile behavior because unofficial APIs can change without notice
- false confidence if you mistake a first-step tool for a production-safe system
- operational mess if you mix research, outreach, and automation without clear boundaries
The right long-term way to do it
The proper production path is the official Meta API. That is the real route if you want a stable, compliant, long-term Instagram integration.
This is not a quick workshop task. It is a real integration project, and it can take days to months to get fully working depending on your accounts, business structure, permissions, review requirements, and how far you want to take it.
What that process usually involves
- 1. Convert to the right professional Instagram and Facebook business setup.
- 2. Create or configure a Meta app in the Meta developer environment.
- 3. Connect the correct Instagram Business account and Facebook Page.
- 4. Request the right permissions for messaging, comments, and account access.
- 5. Handle Meta app review, verification, and any required business verification steps.
- 6. Set up secure authentication, token handling, and refresh behavior.
- 7. Build the actual ingestion layer that reads the events you want.
- 8. Map Instagram data cleanly into your CRM and internal workflow.
- 9. Test failure cases, rate limits, retries, and permission changes.
- 10. Only then use it as a real production integration.
Pro Tip
Try the Agent Safely
Go read and tell me what the last direct message was
This is the safest first test. It verifies the login session and confirms the agent can read your inbox without taking action.
Go read the last 20 messages and capture real leads into the CRM
This is the actual sales workflow. Review inbound conversations, decide which ones are real opportunities, and organize them properly.
Go look at my last post, read the comments, tell me how many there were, and give me all the comments
This tests comment-reading in a safe way. If the agent cannot identify your latest post URL by itself, it should ask you for the link.