Description
Social Media IF Agent:
-
Purpose: This agent integrates multiple social media platforms (Facebook, Instagram) for unified content creation and posting based on user preferences.
-
Workflow:
-
User Interaction: Upon receiving a chat message, it initiates a conversation asking for content details.
-
Routing Logic: Based on user input, it determines whether to post content on Facebook, Instagram, or both platforms.
-
Content Generation: It uses GPT-4 to create content and also fetches relevant images.
-
Posting: Depending on the user's choice, the content is posted to the selected platforms (Facebook, Instagram, or both) through corresponding workflows.
-
-
Tools and Integration:
-
Telegram API: To trigger interactions.
-
OpenAI GPT-4: For content creation.
-
Facebook and Instagram Tools: Integrated workflows for posting on Facebook and Instagram.
-
Memory: Maintains the conversation context for personalized responses.
-
Facebook Agent:
-
Purpose: This agent helps automate the process of content creation and posting on Facebook.
-
Workflow:
-
Trigger: The workflow starts by listening for incoming messages via Telegram.
-
Content Generation: It uses an OpenAI GPT-4 model to analyze the user's input and create content.
-
Image Generation: If relevant, it generates an image prompt and retrieves an image based on the user's description.
-
Post Creation: The content (caption, hashtags, image) is combined, and the post is then sent to Facebook via an HTTP request to a designated endpoint.
-
-
Tools and Integration:
-
Telegram API: To receive user messages.
-
OpenAI API: To generate content based on user input.
-
External Image Generation API: To fetch relevant images based on content.
-
Facebook API: To post the generated content on Facebook.
-
-
-
Instagram Agent:
-
Purpose: This agent assists in creating engaging Instagram posts with captions, hashtags, and image descriptions.
-
Workflow:
-
Trigger: It starts by receiving user inputs via Telegram.
-
Content Creation: It utilizes GPT-4 to generate Instagram content (caption, hashtags) in a warm, authentic tone.
-
Image Retrieval: It searches for relevant images using the SerpAPI and generates a description for the image.
-
Posting: Once the content is ready, it sends the post to Instagram via an HTTP request.
-
-
Tools and Integration:
-
Telegram API: For receiving messages.
-
OpenAI GPT-4: To generate user-friendly content for Instagram.
-
SerpAPI: For fetching relevant images.
-
Instagram API: For posting the content to Instagram.
-
-
-