Back to Templates

Generate Captions from Autocomplete Ideas using Dumpling AI + GPT-4o

Created by

Created by: Yang || yang

Yang

Last update

Last update 11 days ago

Share


📌 Who is this for?

This workflow is perfect for social media managers, content creators, digital marketers, and copywriters who want to save time and stay relevant by automatically generating fresh caption ideas based on trending search behavior.


💡 What problem is this workflow solving?

Manually coming up with engaging social media content is time-consuming and often hit-or-miss. This workflow leverages Google autocomplete to identify what users are searching for, then uses AI to convert those suggestions into short, engaging captions for use on platforms like Instagram, LinkedIn, or Twitter.


⚙️ What this workflow does

This automation runs daily at noon and transforms trending search topics into ready-to-use captions:

  1. Run Every Day at 12 PM
    A schedule trigger that activates the workflow once per day.

  2. Get Search Keywords from Google Sheet
    Pulls a list of base search phrases from a Google Sheet which serve as the starting point for getting trending autocomplete terms.

  3. Fetch Autocomplete Suggestions (Dumpling AI)
    Calls Dumpling AI’s get-autocomplete endpoint using the base phrase to return Google autocomplete suggestions.
    API Reference →

  4. Format Suggestions into Array
    Formats the list of returned suggestions into an array format that can be looped through.

  5. Loop Through Each Autocomplete Suggestion
    Splits the array into individual suggestions to process each one separately.

  6. Generate Caption from Suggestion (GPT-4o)
    Sends each suggestion to GPT-4o with a detailed system prompt to create a short, human-sounding, engaging caption under 280 characters.

  7. Save Keyword & Generated Caption to Google Sheet
    Saves both the original search suggestion and the generated caption to another tab in Google Sheets for content scheduling or review.


This workflow combines real-time search trend data with the power of AI to keep your social media feed fresh, relevant, and consistent — all without lifting a finger.