Posts on Wordpress and social media with prompts

Hello,

We’re working on a project for an association where we want to automate content creation and publishing using n8n. The goal is to have AI generate blog posts as drafts for WordPress and then automatically post them on Facebook and Instagram once they are reviewed and published.

Our idea is to structure everything on Google Drive, where each article would have its own folder containing:

A Google Docs file with the article

An AI-generated image for the post

Once the post is published, we’d like n8n to create a social media post with a short description and the AI-generated image.

We’re considering using Slack or Telegram as an input method to submit article titles and prompts for AI.

Does anyone have experience with a similar setup? We’d love to hear any suggestions or advice on the best approach!

Thanks in advance for your help!

Da uma olhada neste fluxo disponível na comunidade que irá te ajudar.

Hi @SimonB

That sounds like a great project! You’re on the right track. Here’s a suggested approach using n8n:

1. Content Submission

  • Use a Slack or Telegram Trigger in n8n to receive article titles + prompts.
  • Save these prompts in a Google Sheet or directly trigger an AI generation step.

2. AI Content Generation

  • Use OpenAI, Claude, or similar nodes in n8n to generate the blog post text based on the prompt.
  • Generate an image using DALL·E, Stability AI, or similar and save it to a Google Drive folder for that article.

3. Draft Management

  • Create a Google Docs file in the article folder using n8n’s Google Docs node.
  • Save both the article and image in the folder and notify via Slack/Telegram that the draft is ready.

4. WordPress Draft Creation

  • Once reviewed, use n8n’s WordPress node to create a draft post, inserting the article content and image.

5. Social Media Publishing

  • Use the WordPress Trigger (or a webhook you place on the site) to detect when a post is published.
  • Once published, create a short description (either manually or using AI again).
  • Use Facebook Graph API node and Instagram Publishing node (via Meta Business Suite) to post the content with the AI image.

6. Optional Enhancements

  • Add a Trello/Notion/Airtable step to track post status.
  • Use a tagging system in Slack/Telegram to categorize content types.

Let me know if you’d like help building out the n8n workflow or need examples for any of these nodes.

I hope this helps.