Social Media Content Generation
Build intelligent workflows to generate engaging Social Media captions based on a content schedule and brand guidelines, store the text content in a Google Doc, and deliver results via Telegram with AI-powered creativity.
Target Audiences
Prerequisites
Step 1: Create a New Project
Step 2: Add Content Input Nodes
To generate Social Media captions, input data could come from three sources: Google Docs (style guide), File Database (PDF brand tone guide), and Google Sheets (content schedule). Configure each node as follows.
2.1. Google Docs Node
Uploads the content style guide for social media writing.
• Example: «کپشنها باید دوستانه، انگیزشی و متناسب با مخاطبان جوان باشند. از جملات کوتاه و حداکثر ۳ ایموجی استفاده کنید.»
2.2. File Database Node
Uploads a PDF brand tone guide for social media.
• Example: A 5-page PDF outlining tone variations for promotional vs. educational posts.
2.3. Google Sheets Node
Uploads the content publishing schedule.
Topic | Occasion | Status | ID |
---|---|---|---|
Product Launch | Nowruz | to_do | |
Customer Story | Weekly Post | done | POST002 |
Step 3: Connect Data to Vector Store Node
To unify the style guide and brand tone data from Google Docs and File Database:
- Delete the associated file in the Vector Store.
- Disconnect the Google Docs or File Database Node.
- Update the source data (Google Doc or PDF).
- Reconnect the nodes to reload updated data.
Step 4: Add Output Content Node
Uploads the google docs node for social media content output.
Step 5: Add the AI Assistant Node
This node, in this template educational workflow, generates Instagram captions based on the content schedule, style guide, and brand tone.
- Connect the Google Sheets Node output (content schedule) directly to the AI Assistant Node's input.
- Connect the Vector Store Node output (style guide, brand tone) to the AI Assistant Node's input.
Social Media Content Generation Instruction Template
You are an AI assistant for generating Instagram captions. Your goal is to create engaging, professional, and brand-aligned captions in Persian. Follow these steps: 1. Retrieve the content schedule: - Call the {you function's name for reading data from google sheets} function with: ```json { "file_id": "your files ID (here, your google sheets ID)" } Extract columns: Topic, Occasion, Status, and ID from the Google Sheet. Select the first row where Status is "to_do" (ignore others). For the selected row, generate a caption based on the Topic: Use the social media style guide from Google Doc (ID: {your google doc ID}) and brand tone guide from File Database (ID:{your file databse's file ID}) in the Vector Store. Write the caption in Persian, ensuring it's engaging, Instagram-appropriate, and matches the brand tone. Example: For Topic "Product Launch" and Occasion "Nowruz," create a 100–150-word caption with emojis and hashtags. After generating the caption, call the {you function's name for writing content on google docs} function to store it in Google Docs: { "doc_id": " your files ID (here, your google docs ID)", "content": "caption" } Update the Status column in the Google Sheet to "done" for the selected row: Call the {you function's name for updating content on google sheets} function, targeting the Status column (e.g., cell C2 for row 2). Ensure only the Status column (column C) is updated for the specific row. Important: Always call {you function's name for writing content on google docs} with the full caption as content. Always call {you function's name for updating content on google sheets} to update the Status column. Send the generated caption to Telegram with a professional, friendly tone.
Step 6: Add Function Call Nodes
Three Function Call Nodes are required to read the Google Sheet, update the Status column, and write captions to Google Docs.
6.1. Function Call Node (Read Google Sheet)
To read the content schedule from Google Sheets:
6.2. Function Call Node (Update Status to Done)
To update the Status column in Google Sheets from "to_do" to "done":
6.3. Function Call Node (Write to Google Docs)
To store generated captions in Google Docs:
Step 7: Connect to the Telegram Node (Optional)
To deliver generated captions and workflow status updates via Telegram:
Create a Telegram Bot:
Set up your bot through BotFather
Configure Telegram Node:
Set up bot settings and permissions
Step 8: Add the Trigger Node
To automate the workflow execution based on a schedule:
- Click the node and enter a title, e.g., Content Trigger.
- Timing Settings: Choose the scheduling type from the dropdown:
- Interval: Select a value and unit (e.g., 1 day) and set the timezone (e.g., Asia/Tehran).
- Cron Expression: Enter a pattern, e.g., "0 8 * * *" for daily at 8 AM.
- Message Text: Enter «مطابق دستورالعمل، عمل کن» (Act per instructions) to guide the AI Assistant Node.
- Maximum Executions: Leave blank for unlimited runs or enter a number (e.g., 10).
- Trigger Status: Toggle to On to activate.
- Status Info Review execution history and click "Update Schedule" if needed.
Key Tips for Success
Final Output
General Note on Workflow Customization
This workflow, like all workflows in Delaverse's knowledge base, is designed as a sample for educational purposes. Users can extensively customize nodes, settings, and input files to meet personal or organizational needs. For assistance, consult our 24/7 support chatbot or submit a ticket for guidance. If you're unable to build or modify the workflow yourself, request professional workflow creation via a ticket; we'll provide a cost invoice based on your subscription level, and after payment, we'll collaborate to build it. For new node development (e.g., a custom node not yet available), submit a ticket with your requirements, noting that such requests may incur higher costs due to development efforts. Our team is here to ensure your automation success! 😊
Ready to Transform Your Social Media Content Creation?
Start building your intelligent social media content generation workflow today. Automate different platforms caption creation, align with your brand's tone, and streamline content management with AI-powered precision that saves time and boosts engagement.