Skip to content

Facebook

Integration

Facebook

Publish Facebook Page posts and comments, read Page content, and trigger flows on Page and Messenger events using the Meta Graph API.

communication

The Facebook integration connects WorkHub24 to the Meta Graph API for Facebook Pages and Messenger. You can publish posts and comments, send Messenger messages, list conversations, and trigger flows on Page and Messenger events.

Capabilities

Actions Supported AI Tools Supported Triggers Supported

Connection

Authentication OAuth 2.0 · Authorization Code

Click Add Account in the integration settings to start the OAuth flow.

App managed by

When connecting Facebook, choose whose OAuth app WorkHub24 should use:

  • Workhub24 — use WorkHub24’s already configured app. Fastest setup; no provider credentials required.
  • Custom — use an app your organisation owns. Enter provider credentials in WorkHub24 before adding an account.

Both options give the same Facebook features in WorkHub24. The difference is only who owns the OAuth application used for login and authorization.

Full setup steps and Custom field details: Meta credentials guide · Credentials overview

When using a Custom Meta app, configure the Page webhook Callback URL and Verify Token in the Meta app dashboard so Page and Messenger events can reach WorkHub24. With the Workhub24-managed app, webhook setup is already handled.

Multiple named accounts can be connected — pick which one to use in each flow step.

Requested scopes

Scope Purpose
pages_show_list List Facebook Pages you manage
pages_read_engagement Read Page engagement data
pages_read_user_content Read user-generated content on Pages
pages_manage_posts Create and manage Page posts
pages_manage_engagement Manage comments and engagement on Pages
pages_manage_metadata Manage Page metadata and webhook subscriptions
pages_messaging Send and receive Messenger messages as a Page
pages_utility_messaging Send approved Messenger utility templates
business_management Access Meta Business Manager assets

Credentials (Custom app)

These fields are required only when App managed by is set to Custom. They are not needed for the Workhub24-managed option. See the Credentials section for setup guidance.

Field Required Description
App ID Required Meta app ID from the Meta for Developers app dashboard, used for Facebook Login OAuth.
App Secret secret Required Meta app secret used for OAuth token exchange.
Webhook Verify Token secret Required Token you configure in the Meta app webhook settings; used to verify incoming webhook subscription requests.

Actions & AI Tools

Create Comment Action AI Tool Comment on a Page post, or reply to an existing comment, as the Page. Pass a post id to comment on a post, or a comment id to reply. View details Create Photo Post Action Publish one or more photos to a Facebook Page as a single post, from public URLs and/or uploaded image files (combine both), optionally with a caption/message and schedule. View details Create Post Action AI Tool Publish a text and/or link post to a Facebook Page. Optionally schedule it for a future time. View details Delete Post or Comment Action Delete a Page post or comment by id (acting as the Page). View details Get Comments Action AI Tool List comments on a Page post or on another comment. View details Get Conversations Action AI Tool List Messenger conversations for a Facebook Page, including participants (name and PSID). Useful for resolving a recipient's Page-scoped ID (PSID) to use with Send Message. Optionally filter by a specific user PSID, folder, and result limit. View details Get Posts Action AI Tool List recent posts published on a Facebook Page. View details Send Button Message Action Send a Messenger message with text and up to 3 action buttons (a button template) from a Page to a user. Buttons can open a URL or send a postback payload back to your flow. Subject to the 24-hour messaging window. View details Send Card Message Action Send a Messenger card message (generic template) from a Page to a user — one card, or a horizontally scrollable carousel of up to 10 cards. Each card has a title and optional subtitle, image, tap action, and up to 3 buttons. Subject to the 24-hour messaging window. View details Send Media Message Action Send a Messenger media message (image, video, audio, or file) from a Page to a user, either from a public URL or an uploaded file. Subject to the 24-hour messaging window. View details Send Message Action AI Tool Send a plain text Facebook Messenger message from a Page to a user. For interactive content use Send Button Message, Send Card Message, or Send Media Message. The recipient is a Page-scoped ID (PSID), e.g. the senderId from a 'Wait for New Message' trigger. Subject to Meta's 24-hour messaging window: standard RESPONSE messages can only be sent within 24 hours of the user's last message; outside that window use a message tag (messaging_type MESSAGE_TAG). View details Send Utility Message Action AI Tool Send a pre-approved Messenger Utility Message template to a user. Unlike Send Message, a utility message CAN reach a user outside the 24-hour messaging window (for order updates, appointment reminders, account alerts). Requires the pages_utility_messaging permission and an approved utility template on the Page. View details

Triggers

Wait for Comment Deleted Trigger Triggered when a comment on your Facebook Page's post is removed. Requires the Page subscribed to the 'feed' webhook field. View details Wait for Comment Edited Trigger Triggered when a comment on your Facebook Page's post is edited. Requires the Page subscribed to the 'feed' webhook field. View details Wait for Message Delivery Trigger Triggered when a Messenger delivery receipt is received for your Facebook Page. Requires the Page subscribed to the 'message_deliveries' webhook field. View details Wait for Message Reaction Trigger Triggered when a reaction is added to a Messenger message on your Facebook Page. Requires the Page subscribed to the 'message_reactions' webhook field. View details Wait for Message Read Trigger Triggered when a Messenger read receipt is received for your Facebook Page. Requires the Page subscribed to the 'message_reads' webhook field. View details Wait for Postback Trigger Triggered when a Messenger button/postback is received on your Facebook Page. Requires the Page subscribed to the 'messaging_postbacks' webhook field. View details Wait for New Comment Trigger Triggered when a new comment is added on one of your Facebook Page's posts. Requires the Page subscribed to the 'feed' webhook field. View details Wait for New Message Trigger Triggered when your Facebook Page receives a Messenger message. Requires the Page subscribed to the 'messages' webhook field. View details Wait for New Post Trigger Triggered when a new post is published on your Facebook Page. Requires the Page subscribed to the 'feed' webhook field. View details Wait for New Reaction Trigger Triggered when a reaction (like, love, etc.) is added to one of your Facebook Page's posts. Requires the Page subscribed to the 'feed' webhook field. View details Wait for Page Mention Trigger Triggered when your Facebook Page is mentioned in a post or comment. Requires the Page subscribed to the 'mention' webhook field. View details Wait for Post Shared Trigger Triggered when one of your Facebook Page's posts is shared. Requires the Page subscribed to the 'feed' webhook field. View details