Meta

Triggers

A Trigger is a block that starts a workflow when an event happens in this service.

Facebook Comment Webhook

Trigger workflow when a comment is added, edited, or removed on a Facebook Page post

Configuration

ParameterTypeRequiredDescription
triggerCredentialsstringYesConnect your Facebook Pages account.
pageIdFilterstringNoOnly trigger for events on these pages. Leave empty to match all.
eventTypeFilterstringNoOnly trigger for specific event types. Defaults to all events.

Output

ParameterTypeDescription
pageIdstringFacebook Page ID that received the comment
postobjectpost output from the tool
↳ idstringInternal post record ID
↳ sourceIdstringFacebook post ID
↳ sourceTypestringSource platform type
↳ messagestringPost message text
↳ mediaProductTypestringMedia product type (FEED, AD)
↳ filesfile[]Post media files (images or videos) as S3 URL references
commentobjectcomment output from the tool
↳ idstringInternal comment record ID
↳ sourceIdstringFacebook comment source ID
↳ postIdstringParent post ID
↳ fromIdstringFacebook user ID of the commenter
↳ fromNamestringName of the commenter
↳ messagestringComment text content
↳ commentIdstringFacebook comment ID (use this for replies)
parentCommentobjectparentComment output from the tool
↳ idstringInternal record ID of the comment a reply answers (replies only)
↳ sourceIdstringFacebook ID of the comment a reply answers (replies only)
↳ fromIdstringWho wrote the comment a reply answers (replies only)
↳ fromNamestringName of who wrote the comment a reply answers (replies only)
↳ messagestringText of the comment a reply answers (replies only)
channelTypestringChannel type identifier (facebook)
eventTypestringEvent type (comment or reply)
inboxIdstringInbox identifier associated with the Facebook Page channel

Instagram Comment Webhook

Trigger workflow when a comment is added on an Instagram post

Configuration

ParameterTypeRequiredDescription
triggerCredentialsstringYesConnect your Facebook Pages account.
pageIdFilterstringNoOnly trigger for events on these pages. Leave empty to match all.
eventTypeFilterstringNoOnly trigger for specific event types. Defaults to all events.

Output

ParameterTypeDescription
pageIdstringFacebook Page ID that received the comment
postobjectpost output from the tool
↳ idstringInternal post record ID
↳ sourceIdstringInstagram media ID
↳ sourceTypestringSource platform type
↳ messagestringPost caption or message text
↳ mediaProductTypestringInstagram media product type (FEED, REELS, STORIES, AD)
↳ filesfile[]Post media files (images or videos) as S3 URL references
commentobjectcomment output from the tool
↳ idstringInternal comment record ID
↳ sourceIdstringInstagram comment source ID
↳ postIdstringParent post ID
↳ fromIdstringInstagram user ID of the commenter
↳ fromNamestringInstagram username of the commenter
↳ messagestringComment text content
↳ commentIdstringInstagram comment ID (use this for replies)
parentCommentobjectparentComment output from the tool
↳ idstringInternal record ID of the comment a reply answers (replies only)
↳ sourceIdstringInstagram ID of the comment a reply answers (replies only)
↳ fromIdstringWho wrote the comment a reply answers (replies only)
↳ fromNamestringName of who wrote the comment a reply answers (replies only)
↳ messagestringText of the comment a reply answers (replies only)
channelTypestringChannel type identifier (instagram)
eventTypestringEvent type (comment, mention or reply)
inboxIdstringInbox identifier associated with the Instagram channel

Moderation Action

Run this workflow when the moderation policy gives a comment a category bound to it

Output

ParameterTypeDescription
pageIdstringFacebook Page ID of the publication
postobjectpost output from the tool
↳ idstringInternal post record ID
↳ sourceIdstringInstagram media or Facebook post ID
↳ sourceTypestringINSTAGRAM or FACEBOOK
↳ messagestringPost caption or message text
↳ mediaProductTypestringInstagram media product type
commentobjectcomment output from the tool
↳ idstringInternal comment record ID
↳ sourceIdstringMeta comment ID
↳ postIdstringInternal post record ID
↳ fromIdstringCommenter ID
↳ fromNamestringCommenter name or username
↳ messagestringComment text
↳ commentIdstringThe comment this one replies to, if any
channelTypestringinstagram or facebook
eventTypestringAlways moderation_action
inboxIdstringInbox identifier
decisionobjectdecision output from the tool
↳ idstringDecision ID
↳ policyIdstringPolicy version that decided
↳ categoriesarrayCategories given, each with its rule and the cited excerpt
↳ reasonstringWhy the comment got its categories
↳ needsPersonbooleanWhether the decision waits for a person
categoryobjectcategory output from the tool
↳ keystringThe category whose action started this workflow