June 17, 2025
Auto-Generate Social Media Captions from Google Autocomplete using Dumpling AI + GPT-4o
Introduction
Creating original and relevant social media content daily can be overwhelming, especially when you’re constantly trying to keep up with trends. This automation solves that by turning real-time Google search trends into short, engaging social media captions with no manual writing. Using n8n, Dumpling AI, GPT-4o, and Google Sheets, this workflow helps content creators, agencies, and marketing teams generate fresh, searchable captions from autocomplete keyword suggestions, automatically and at scale.
Once you set it up, the workflow runs on a schedule, picks a keyword from Google Sheets, pulls related autocomplete suggestions via Dumpling AI, turns each suggestion into an optimized caption using GPT-4o, and stores everything back in a sheet for instant use.
Workflow Breakdown: Node-by-Node
⏰ 1. Schedule Trigger
- Node Type: Schedule Trigger
- Purpose: Automatically kicks off the workflow every day at 12 PM.
- Why It Matters: You don’t need to manually trigger the workflow. It runs consistently, ensuring your caption bank is always growing.


📄 2. Get Keywords from Google Sheets
- Node Type: Google Sheets
- Purpose: Retrieves the list of keywords from a predefined sheet. Each keyword will be used to generate autocomplete suggestions.
- Example Input: “remote work”, “AI tools”, “self-discipline”
- Pro Tip: Keep your keyword list fresh by adding seasonal or trending topics.


3. Fetch Autocomplete Suggestions via Dumpling AI
- Node Type: HTTP Request
- Purpose: Sends each keyword to Dumpling AI’s /get-autocomplete endpoint to fetch a list of real-time search suggestions from Google.
- Input Example:
{
“query”: “{{ $json.keyword }}”,
“country”: “US”,
“language”: “en”
}
- Example Output:
{
“suggestions”: [
“AI productivity hacks”,
“AI for time management”,
“best AI tools for workflow”
]
}
- Why It Matters: These suggestions are what people are searching for right now—giving you relevant, high-traffic content ideas.


4. Format Suggestions
- Node Type: Set
- Purpose: Extracts only the suggestions from the API response and formats them into a clean array (suggestions).
- Why It Matters: Ensures the next step can easily process each suggestion without nested or messy data.


5. Split Out Each Suggestion
- Node Type: Split Out
- Purpose: Takes the array of suggestions and splits them into individual items so each suggestion is processed separately.
- Why It Matters: GPT-4o works best when each caption request is handled individually, allowing for focused, customized outputs.


6. Generate Captions with GPT-4o
- Node Type: OpenAI Chat Model (GPT-4o)
- Purpose: For each suggestion, GPT-4o is prompted to write a concise and captivating caption suitable for Instagram, Threads, or LinkedIn.
- System Prompt:
You are a creative copywriter. Turn the provided autocomplete search phrase into a short, relatable, and engaging caption under 280 characters. Do not copy the input phrase word-for-word. Instead, give useful insights, motivation, or personality.
- Example:
- Input: “AI productivity hacks”
- Output: “Drowning in to-dos? These 3 AI tricks help you finish your day faster—with less stress.”


7. Save Captions Back to Google Sheets
- Node Type: Google Sheets
- Purpose: Saves each generated caption alongside its corresponding suggestion to your central Google Sheet.
- Mapped Columns:
- Suggestion (from Dumpling AI)
- Generated Caption (from GPT-4o)
- Why It Matters: You now have a continuously growing sheet of on-brand, ready-to-post captions.


Conclusion
This workflow gives you a consistent, low-effort, and scalable system for turning trending search queries into high-impact captions that connect with your audience. You’re no longer guessing what to write. You’re leveraging real data and powerful AI to stay ahead of the content game.
You can extend this setup further by:
- Connecting it to Buffer or Hootsuite for auto-scheduling
- Using Airtable to sort by campaign or theme
- Translating captions for multilingual audiences
If you want help adapting this workflow for longer form content like tweets, blog hooks, or video intros, just ask. Let your audience lead the content—and let AI do the writing.
Download the blueprint used in this blog post
Click here to access the blueprint.