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.
The workflow is triggered by a form submission, which collects user inputs such as Content type.
An OpenAI GPT-4.1-mini model is utilized for AI-based suggestions and content creation.
Two distinct nodes handle:
- Text content for social media captions (Facebook, Pinterest).
- Image prompt suggestions for AI-based image generators.
The workflow includes an HTTP node to interact with an external API (e.g., openrouter.ai) for enhanced AI capabilities.
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.
Approved content is converted to appropriate file formats (e.g., binary images) and directly uploaded to a selected platform like Facebook.
To use this workflow:
- 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).
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.
- AI-Powered Text Generation: Generate platform-specific captions with built-in AI for enhanced engagement.
- Automated Workflows: Streamline the content lifecycle – from ideation through approval to final posting.
- API Integrations: Seamlessly connect with external services for advanced data processing.
- 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.
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.