Instagram Reels Monitor
Monitor Instagram DMs for reels. Use when you need to check Instagram DMs for new unread messages containing reels, click them, extract the reel link, and ap...
Latest: v1.0.0
Initial release
duplicate of@thejas775/insta-reel-extractor
Full description
Monitor Instagram DMs for reels. Use when you need to check Instagram DMs for new unread messages containing reels, click them, extract the reel link, and append to an instagram_reels.csv file.
Instagram Reels Monitor
This skill monitors an already open Instagram Direct Messages tab for new messages containing reels and saves them to a CSV file.
Requirements
- An active browser session with a tab open to
https://www.instagram.com/direct/inbox/. - The user must have the OpenClaw browser relay attached to that tab.
Workflow
- Use the
browsertool withaction: tabsandprofile: chrometo find thetargetIdfor the Instagram Messages tab. - Use the
browsertool withaction: act,kind: evaluateto run a script that checks for new, unread messages in the DM list. - If an unread message is found, click the conversation to open it.
- Once the conversation is open, use
browseraction: act,kind: evaluateto extract thehrefof any link containing/reel/or/p/(if it's a video/reel). - Extract the Instagram user ID of the sender.
- Append the data to
instagram_reels.csvin the formatuserid,reel_link. - Return to the main inbox view (if necessary) to check for more messages.
Example Scripts
Extract Reel Links from an Open Conversation
() => {
const links = Array.from(document.querySelectorAll('a'));
return links.filter(a => a.href.includes('/reel/')).map(a => a.href);
}
List DM Conversations
() => {
const buttons = Array.from(document.querySelectorAll('div[role="button"]'));
return buttons.map(b => b.innerText.replace(/\n/g, ' '));
}
