See llms.txt for all machine-readable content.

Facebook Graph API and Relevance AI integration

Save yourself the work of writing custom integrations for Facebook Graph API and Relevance AI and use n8n instead. Build adaptable and scalable Development, workflows that work with your technology stack. All within a building experience you will love.

How to connect Facebook Graph API and Relevance AI

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Facebook Graph API and Relevance AI integration: Create a new workflow and add the first step

Cross-post RSS feed articles to X, LinkedIn and Facebook with PostgreSQL

Quick overview This workflow reads new RSS articles on a configurable schedule and turns them into ready-to-publish posts for X, LinkedIn, and Facebook. Each publication is recorded in PostgreSQL to prevent duplicates. How it works Runs on a 15-minute schedule to start an RSS cross-posting cycle. Builds and validates the RSS and destination configuration, and stops with an error summary if required values are missing or invalid. Ensures a PostgreSQL ledger table exists to store publication results and prevent duplicate posting. Reads items from each enabled RSS feed and normalizes article fields (title, excerpt, URL, publish date), optionally appending UTM parameters to links. Creates one publication candidate per enabled channel, generates a SHA-256 content hash, and routes each candidate to X, LinkedIn, or Facebook. Posts the rendered message to X, creates a LinkedIn organization post, and publishes to a Facebook Page (or skips API calls in dry-run mode) and then upserts a per-channel result record into PostgreSQL. Produces a run summary with counts and warnings across all attempted publications. Setup Add credentials for X (Twitter OAuth2), LinkedIn OAuth2, Facebook Graph API, and a PostgreSQL database. Update the RSS feed URL list and message templates in the configuration step, and choose which channels to enable. Set your LinkedIn organization ID and Facebook Page ID in the configuration when those channels are enabled. Confirm the PostgreSQL schema/database allows creating and writing to the workflow_factory.rss_cross_post_ledger table. Keep dry_run enabled until the posts and destinations look correct, then disable it to publish live. Requirements RSS feed URLs. X, LinkedIn, and Facebook credentials with publishing permissions. LinkedIn organization and Facebook Page identifiers. PostgreSQL access for the publication ledger. Customization Add or remove RSS feed URLs in the configuration node. Enable only the social channels you want to use. Customize each channel’s post template. Configure the LinkedIn organization and Facebook Page identifiers. Adjust filtering, lookback, and dry-run settings. Additional info The workflow publishes each article independently per channel, so a failure on one platform does not prevent the others from being processed. Dry-run mode allows you to verify formatting and deduplication before enabling live publishing.

Popular ways to use the Facebook Graph API and Relevance AI integration

Build your own Facebook Graph API and Relevance AI integration

Create custom Facebook Graph API and Relevance AI workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Supported methods for Relevance AI

Delete
Get
Head
Options
Patch
Post
Put

To set up Relevance AI integration, add the HTTP Request node to your workflow canvas and authenticate it using a generic authentication method. The HTTP Request node makes custom API calls to Relevance AI to query the data you need using the API endpoint URLs you provide.

See the example here

Requires additional credentials set up

Use n8n's HTTP Request node with a predefined or generic credential type to make custom API calls.

Facebook Graph API and Relevance AI integration details

Facebook Graph API

Facebook Graph API

Facebook needs no introduction. It is an online social networking and media service that gathers people from all parts of the world, from different backgrounds, and allows them to promote their businesses and services, share, react to and comment on all types of content, and communicate and message their friends.

Relevance AI

Relevance AI

Relevance AI is the hub for the AI Workforce, empowering individuals to create autonomous AI teams and automate their processes effortlessly.

Other integrations with Facebook Graph API and Relevance AI

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

FAQ about Facebook Graph API integrations

Need help setting up your Facebook Graph API and Relevance AI integration?

Discover our latest community's recommendations and join the discussions about Facebook Graph API and Relevance AI integration.

  • Nicolas Almazan

    Instagram DMs webhooks work only in test mode

    Nicolas Almazan

    I am having an issue when receiving direct messages on Instagram in LIVE mode within my workflow. I have Webhooks and HTTP requests configured in my workflow, but they are only triggered when I send direct messages from…

    Open topic
  • Cristian Martanov

    Best way to get leads from META?

    Cristian Martanov

    Hello! I have seen that there is a direct extractor of leads from META: Facebook Lead Ads Trigger, but there is also Graph API, which I think can also extract leads From what Im getting from online tutorials, this Facebo…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Three colleagues talking around laptops at a shared desk

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate Facebook Graph API with Relevance AI

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship

Man in a brown jacket working at his desk by a window