Notify team of new tagged Instagram post immediately to channel
When someone tags your Instagram account, your team gets a Slack message with who tagged you, the caption, a link to the post and a preview, so coordinators can act on it right away.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/notify-team-of-new-tagged-instagram-post-immediately-to-channel/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Marketing · Social media marketing
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/notify-team-of-new-tagged-instagram-post-immediately-to-channel
Set it up with the CLI
- Add it. Copies the folder into
zaps/notify-team-of-new-tagged-instagram-post-immediately-to-channel/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/notify-team-of-new-tagged-instagram-post-immediately-to-channel - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy notify-team-of-new-tagged-instagram-post-immediately-to-channel - Check it. Its recent runs, with status and errors.
npx zap-pack logs notify-team-of-new-tagged-instagram-post-immediately-to-channel
zaps/notify-team-of-new-tagged-instagram-post-immediately-to-channel/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 1 to fill in
- connections/instagram-for-business.tsThe
instagram-for-businessaccount it uses - connections/slack.tsThe
slackaccount it uses - triggers/new-tag.tsWhat starts it:
instagram-for-businessnew_tag - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: someone tags the business's Instagram account in a new post (
instagram-for-business,new_tag). The trigger brings the author's username, the caption, the post's link and its media. - Slack posts one message to the team channel. It names the author (
@username), includes the caption (cut to a set length), the link to the post, and a media preview. The message posts under a bot name and icon.
Nothing is filtered: every tagged post produces one message, and the message mentions nobody unless mentions are turned on.
Ask the user
Each REPLACE_… value is set per person. Resolve channel and group names to IDs with the user's own Slack connection; don't ask them to paste an ID you can look up.
| Setting | What goes there |
|---|---|
REPLACE_SLACK_CHANNEL |
The channel that gets the alerts, by its ID (C…). The Slack bot must be added to it. |
REPLACE_GROUP_ID |
The Slack user group to mention, by its ID (S…). Needed only if MENTION_ENABLED is true. |
Which Instagram business account to watch is set on the trigger through the instagram-for-business connection. It must be an admin's Instagram Business account linked to a Facebook Page.
Also review the defaults with them: BOT_NAME and BOT_ICON (how the bot appears), MENTION_ENABLED (false in workflow.ts, so no one is mentioned unless they ask), and MAX_CAPTION_LENGTH (280 characters in workflow.ts).
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/notify-team-of-new-tagged-instagram-post-immediately-to-channel, replace each REPLACE_… value as this file says, then run npx zap-pack deploy notify-team-of-new-tagged-instagram-post-immediately-to-channel, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
instagram-for-businessto the user's Instagram Business account whose tags are watched (the trigger uses it), andslackto the user's Slack connection for the workspace with the alert channel. No other apps need a connection. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/new-tag.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect each action's fields with the user's connections and sample the trigger before the first test run, and fix any key in
workflow.tsthat doesn't match.
Test it
Run it once as a draft test with a sample that matches what the trigger returns, posted to a channel the user controls:
{
"username": "example_creator",
"caption": "Loving the new spring collection from @yourbrand #springstyle",
"permalink": "https://www.instagram.com/p/EXAMPLE123/",
"media_url": "https://example.com/media/EXAMPLE123.jpg",
"media_type": "IMAGE",
"thumbnail_url": null
}
Check that one message appears in the channel: the bot name and icon are set, the text names @example_creator, includes the caption and the permalink, and shows the picture as an attachment. If run-status tools aren't available, check the channel in Slack directly. Then publish, confirm the trigger is active, and ask the user to delete the test message. The user deletes test data, not the agent.
Notes
- Every tag alerts, because Instagram does not report whether a tagged post is public. To alert only on public posts, or only on posts with a minimum engagement or specific hashtags, add a check before the Slack step.
- To mention a group on every alert, set
MENTION_ENABLEDtotrueand fill inREPLACE_GROUP_ID. To pick the group by hashtag instead, add a rule before the Slack step. - The trigger returns the username but not a display name, so the alert shows
@username. - A video's preview is its thumbnail; a photo's preview is the image itself.
- The Slack bot can post only in channels it has been added to. The message includes a link to the automation for editing unless the Slack action's "Include a link to this automation" option is turned off.