Skip to content

sasikiran0601/n8n

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

AI-Powered Workflow for Social Media Content Generation

Description

This project demonstrates an n8n workflow designed to generate AI-powered content for social media platforms. The workflow automates content generation, approval, and posting processes, offering features like:

  • Dynamic form-triggered workflows.
  • AI-based text generation for social media captions.
  • AI-assisted content suggestions for image prompts.
  • Automated approval-based email responses.
  • Seamless posting to platforms like Facebook.

Workflow Details

1. Form Trigger

The workflow is triggered by a form submission, which collects user inputs such as Content type.

2. OpenAI Chat Model

An OpenAI GPT-4.1-mini model is utilized for AI-based suggestions and content creation.

3. Content Generation

Two distinct nodes handle:

  • Text content for social media captions (Facebook, Pinterest).
  • Image prompt suggestions for AI-based image generators.

4. HTTP Integration

The workflow includes an HTTP node to interact with an external API (e.g., openrouter.ai) for enhanced AI capabilities.

5. Approval Workflow

Generated content is sent via email to the user for approval. Based on the response:

  • Approved: The content is processed further.
  • Regenerate: Content is regenerated with updated inputs.
  • No Action: The workflow halts.

6. File Conversion and Upload

Approved content is converted to appropriate file formats (e.g., binary images) and directly uploaded to a selected platform like Facebook.

Installation

To use this workflow:

  1. Clone this repository:

git clone https://github.com/sasikiran0601/n8n.git ``` 2. Import the workflow JSON file into your n8n instance. 3. Configure the required credentials (e.g., OpenAI API, Gmail OAuth2, and Upload Post API).

Dependencies

The workflow requires the following services and APIs to be configured:

  • n8n instance (v0.228.0 or higher).
  • OpenAI account for AI-powered nodes.
  • Email (Gmail) account for approval and notifications.
  • Facebook page access token for content uploads.

Features

  1. AI-Powered Text Generation: Generate platform-specific captions with built-in AI for enhanced engagement.
  2. Automated Workflows: Streamline the content lifecycle – from ideation through approval to final posting.
  3. API Integrations: Seamlessly connect with external services for advanced data processing.

Future Improvements

  • Add more social media platforms (e.g., Instagram, Twitter).
  • Enhance content approval process with advanced analytics.
  • Provide a user-friendly UI for configuring the workflow.

Contact

For further details or support, reach out to Sasikiran at bandisasikiran@gmail.com.


Disclaimer: This project is a demonstration and should be customized based on specific requirements.

About

AI automations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors