AI Agent HUB Trigger icon

AI Agent HUB Trigger

Triggers workflow on new comments, new DMs, new leads, new TikTok videos/comments, or token expiry alerts

AI Agent HUB Trigger

AI-generated

Summary

Polls specified social media platforms or accounts for specified event types, triggering the workflow when new comments, direct messages, leads, TikTok videos, TikTok comments, or token expiry alerts are detected.

Inputs

  • Event (required) — Selects the type of event to trigger on: new comment, direct message, lead, TikTok comment or video, or a token expiry alert.
  • Platform (required) — For 'New Comment' event, selects which platform (Facebook, Instagram, YouTube) to monitor.
  • Facebook Account (required) — For Facebook-related events (new comment, new DM, new lead), selects the Facebook page/account to monitor.
  • Instagram Account (required) — For Instagram-related events (new comment, new DM), selects the Instagram account to monitor.
  • YouTube Account (required) — For YouTube comments, selects the YouTube account to monitor.
  • Lead Form (required) — For new lead events, selects the Facebook lead form to monitor.
  • TikTok Account (required) — For TikTok comment or video events, selects the TikTok account to monitor.
  • Days Before Expiry — For token expiry alerts, sets how many days before expiry to trigger an alert.
  • Poll Times — Times or intervals at which the node should poll for events, configurable with fixed intervals or custom cron expressions.

Output shape

a list of new event objects matching the selected event type, each containing event details and a trigger timestamp

Emits only when new events are detected since the last poll, with duplicate avoidance using static data caching. Returns no output if no new events occur during a poll cycle.

Examples

Example 1: Trigger a workflow when new comments are posted on a selected Facebook page.

Event set to 'New Comment', platform set to 'Facebook', and Facebook Account chosen. Optional Poll Times can customize frequency.

Example 2: Trigger on new direct messages received on Instagram Direct.

Event set to 'New Direct Message', dmPlatform set to 'Instagram Direct', and corresponding Instagram Direct account chosen.

Links

Discussion