← All N8N workflows
AI & researchChain LLMFacebook Graph ApiGoogle SheetsHTTP RequestLinked In

AI Social Media Publisher from WordPress

Configured with Chain LLM, Facebook Graph Api, Google Sheets, HTTP Request, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TriggerWhen clicking ‘Testworkflow’Manual TriggerData storeGoogle SheetsGoogle SheetsAI & modelsOpenRouter Chat ModelLM Chat Open RouterTransformStructured OutputParserOutput Parser StructuredAI & modelsImage InstagramOpen AiAI & modelsImage Facebook eLinkedinOpen AiAI & modelsSocial Media ManagerChain LLMData storeLinkedin OKGoogle SheetsData storeFacebook OkGoogle SheetsData storeInstagram OKGoogle SheetsIntegrationGet PostWordpressMessagingPublish on XTwitterData storeX OKGoogle SheetsMessagingPublish on LinkedInLinked InIntegrationPublish on FacebookFacebook Graph ApiWeb / APIPublish on InstagramHTTP Request

Node categories in this workflow

  • Trigger
  • Data store
  • AI & models
  • Transform
  • Integration
  • Messaging
  • Web / API

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
When clicking ‘Test workflow’TriggerManual TriggerSee node parameters
Google SheetsData storeGoogle SheetsSee node parameters
OpenRouter Chat ModelAI & modelsLM Chat Open RouterSee node parameters
Structured Output ParserTransformOutput Parser StructuredSee node parameters
Image InstagramAI & modelsOpen Aiimage
Image Facebook e LinkedinAI & modelsOpen Aiimage
Social Media ManagerAI & modelsChain LLMSee node parameters
Linkedin OKData storeGoogle Sheetsupdate
Facebook OkData storeGoogle Sheetsupdate
Instagram OKData storeGoogle Sheetsupdate
Get PostIntegrationWordpressget
Publish on XMessagingTwitterSee node parameters
X OKData storeGoogle Sheetsupdate
Publish on LinkedInMessagingLinked InSee node parameters
Publish on FacebookIntegrationFacebook Graph ApiSee node parameters
Publish on InstagramWeb / APIHTTP RequestPOST

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • facebookGraphApi
  • googleSheetsOAuth2Api
  • linkedInOAuth2Api
  • openAiApi
  • openRouterApi
  • twitterOAuth2Api
  • wordpressApi

Workflow notes

Sticky Note

Get the Post ID of the Wordpress article on which you want to generate the caption for social media

Sticky Note1

The SMM Chain analyses the content of the post and creates the most suitable caption based on the destination social network.

STEP 1

STEP 1

This workflow automates the process of creating and publishing social media posts across multiple platforms (Twitter/X, Facebook, LinkedIn, and Instagram) based on content from a WordPress post. It uses AI models to generate platform-specific captions and images, and integrates with Google Sheets, WordPress, and various social media APIs.

Get the API Keys of the social networks you want to publish on

Authenticate on social media nodes with the access tokens obtained

STEP 2

STEP 2

Clone this Sheet and set ONLY the WordPress Post ID id in the right column

AI Social Media Publisher from WordPress

AI Social Media Publisher from WordPress

Purpose and structure

This folder contains the AI Social Media Publisher from WordPress workflow. Its executable nodes use chainLlm, facebookGraphApi, googleSheets, httpRequest, linkedIn, lmChatOpenRouter, manualTrigger, openAi, outputParserStructured, twitter, wordpress. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

When clicking ‘Test workflow’

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Linkedin/1709_Linkedin_Wordpress_Automation_Webhook.json MIT; preserve source notices.

More in AI & research