Integrate Facebook Pages into the workflow. Reply to comments on posts, send direct messages to users via Messenger, hide or unhide comments, and fetch post details including media, caption, and engagement metrics. Uses the Facebook Page access token linked to your workspace. Can be used in trigger mode to trigger a workflow when a comment is added on a Facebook Page post.
Reply to a comment on a Facebook Page post.
| Parameter | Type | Required | Description |
|---|
commentId | string | Yes | ID of the Facebook comment to reply to |
message | string | Yes | Reply message text |
pageId | string | Yes | Facebook Page ID that owns the post |
| Parameter | Type | Description |
|---|
commentId | string | ID of the newly created reply comment |
Send a message to a user via Facebook Messenger API.
| Parameter | Type | Required | Description |
|---|
recipientId | string | Yes | Facebook user ID of the recipient |
message | string | Yes | Message text to send |
pageId | string | Yes | Facebook Page ID that owns the post |
| Parameter | Type | Description |
|---|
messageId | string | ID of the sent message |
recipientId | string | Facebook user ID of the recipient |
Hide or unhide a comment on a Facebook Page post.
| Parameter | Type | Required | Description |
|---|
commentId | string | Yes | ID of the Facebook comment to hide or unhide |
isHidden | boolean | No | Whether to hide (true) or unhide (false) the comment |
pageId | string | Yes | Facebook Page ID that owns the post |
| Parameter | Type | Description |
|---|
hidden | boolean | Whether the comment is now hidden |
Fetch a single Facebook Page post by ID. Returns media URL, caption, type, timestamps, engagement metrics, and sub-attachments when applicable.
| Parameter | Type | Required | Description |
|---|
postId | string | Yes | ID of the Facebook post to fetch |
pageId | string | Yes | Facebook Page ID that owns the post |
| Parameter | Type | Description |
|---|
mediaUrl | string | URL of the post image (full_picture) |
caption | string | Post message text |
mediaProductType | string | Always null for Facebook posts (Instagram-only field) |
mediaType | string | Post type (photo, video, link, status, etc.) |
timestamp | string | ISO 8601 timestamp when the post was created |
permalink | string | Permanent URL of the post |
likeCount | number | Number of likes/reactions on the post |
commentsCount | number | Number of comments on the post |
children | json | Array of sub-attachment media items (only present for multi-photo posts) |
↳ mediaUrl | string | Sub-attachment media URL |
↳ mediaType | string | Sub-attachment type |
↳ description | string | Sub-attachment description |