Meta Facebook Inbox for Openclaw

An AI-powered browser automation skill for managing Meta Business Suite Facebook page inboxes including messages, labels, and notes.

picseeinc
v1.0.0
Feb 23, 2026
0
1.7k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install meta-fb-inbox

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install meta-fb-inbox using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Meta Facebook Inbox?

The Meta Facebook Inbox skill empowers AI agents to perform complex browser automation within the Meta Business Suite environment. By leveraging Openclaw Skills, the agent can navigate directly to specific page inboxes, monitor incoming messages, and interact with customers in real-time. It is designed to handle multi-page environments through a robust aliasing system, allowing for seamless switching between different brand assets.

This skill goes beyond simple message reading; it provides deep integration with Meta's interface to manage customer metadata. It uses specialized scripts and ARIA-based element targeting to extract conversation histories, download shared images, and maintain internal organizational notes. This makes it an essential tool for developers looking to automate social media community management and customer support workflows.

Meta Facebook Inbox Use Cases

  • Automatically monitoring multiple Facebook Pages for unread customer inquiries.
  • Scaling customer service by using AI to draft and send replies to common questions.
  • Categorizing leads and customers by adding or removing specific labels based on chat content.
  • Syncing internal customer data by updating Facebook notes directly from an AI agent.
  • Creating automated reports by extracting message previews and timestamps for sentiment analysis.

How Meta Facebook Inbox Works

  1. The skill reads the config.json file to identify the correct Meta Business Suite URL and Page ID based on the provided alias.
  2. It initializes an isolated browser session using the openclaw profile to maintain persistent authentication states.
  3. The agent navigates to the inbox and performs a login check to ensure the session is active before proceeding.
  4. It utilizes a combination of ARIA snapshots and screenshots to identify conversation elements, message threads, and UI controls.
  5. Complex actions like replying or editing notes are executed through precise click and type operations using unique element references.
  6. For data extraction, the skill injects specialized JavaScript to parse the DOM and return structured JSON data, including message text and image URLs.

Meta Facebook Inbox Setup

To get started with this skill, navigate to the skill directory and run the configuration wizard:

cd skills/meta-fb-inbox
node scripts/setup.js

Ensure your config.json is populated with your Facebook Page asset IDs. You must also perform a one-time manual login within the Openclaw Skills browser profile to store the session cookies required for automation.

Meta Facebook Inbox Data Schema & Taxonomy

The skill manages configuration and message data using the following structures:

Configuration (config.json)

Key Type Description
pages Array A list of objects containing page metadata.
alias String A user-defined name for easy page identification.
url String The direct Meta Business Suite inbox URL with asset_id.

Message Object (Extracted via read-messages.js)

  • text: The string content of the message.
  • isCustomer: Boolean indicating if the sender is the customer.
  • hasImage: Boolean indicating the presence of an attachment.
  • imageUrl: The source URL for any attached media.

Meta Facebook Inbox Advanced Features

  • Direct conversation deep-linking using generated URLs to bypass list navigation.
  • Automated image handling that extracts and downloads message attachments to local storage.
  • Sophisticated note editing logic that handles existing text replacement using keyboard shortcuts.
  • Multi-page support allowing a single AI agent to manage an entire portfolio of Facebook brands.
  • Isolated profile management to prevent session interference with other Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*