Generate images with Grok and upload to Dropbox when new row added to Google Sheet with prompt
Add a prompt as a new row in Google Sheets and this workflow has Grok by xAI generate an image from it, then uploads that image to your Dropbox, so a sheet of ideas becomes a folder of images.
Google Sheets
Grok by xAI
Dropbox3 steps Setup ~5 min Used on 1.1k sites Free to import

What this workflow does
Generating images one prompt at a time means typing into a chat window, downloading the result and filing it away. When you have a list of prompts, that routine gets old fast. This workflow lets you keep the prompts in a spreadsheet and collect the results in Dropbox.
A run starts once a fresh prompt row appears in your connected Google Sheets spreadsheet. The prompt in that row goes to Grok by xAI, whose Generate Image action creates a new image from a detailed text prompt using the Aurora model. The image Grok returns is then passed to Dropbox, where Upload File saves it as a file.
Each new row produces one image and one upload. Rows already in the sheet before you turn it on are not processed. The template does not write anything back to the sheet, so you will not see which rows are done unless you add a step for that. Check a test run to see how Grok returns the image before you map it into the Dropbox step.
Blog header images in bulk
A writer adds one row per upcoming article with a short scene description. Each image lands in a Dropbox folder, ready to pick for the post.
Social post visuals for a content calendar
The marketing team keeps next month's post ideas in a sheet. Adding each row produces a matching image in the shared Dropbox folder for review.
Concept art for a pitch
A designer lists variations of a product idea, one per row. Grok renders each, and the set is waiting in Dropbox to compare side by side.
How this workflow runs
What happens at each step once the workflow is on, and what you need before you import it.
Google Sheets New Spreadsheet RowStarts the run each time a prompt row is appended to your chosen Google Sheets spreadsheet. The row's cells, including the prompt column, become available to map.
Grok by xAI Generate ImageSends the prompt from the row to Grok by xAI, which generates a new image from it using the Aurora model. Map the prompt column into this step and connect your xAI account.
Dropbox Upload FileUploads the image Grok returned to your Dropbox. Map the image from the Grok step into the file and connect your Dropbox account, then confirm with a test run where the file is saved.
What you need
- FlowMatticCore
- Google Sheets AccountAccount
- Grok by xAI AccountAccount
- Dropbox AccountAccount
After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.
Make it yours
Changes worth making after you import it.
- Add a Filter between the Google Sheets trigger and the Grok step that continues only when the prompt cell is not empty, so a blank row added by mistake requests no image and uploads nothing.
- Map the row's prompt or a title column into the Dropbox file name, so each image is easy to match to the row it came from.
- Add a Dropbox Create Shared Link step after the upload if you want a link to each image to share with your team.
Questions about this workflow
Does Grok process prompts already in my Google Sheet?
No. The trigger fires for rows added after the workflow is turned on. Prompts already in the sheet are not sent to Grok.
Do I need an xAI account for the Grok image step?
Yes. The Generate Image step runs through the xAI account you connect in FlowMattic, and any usage is billed by xAI to that account.
Can I see in the sheet which prompts already have images?
Not as imported. The workflow does not write back to Google Sheets. The images in Dropbox are the record of what has been generated.
Where in Dropbox do the Grok images end up?
Wherever you point the Upload File step after import. It ships unmapped, so set it up, map the image from Grok, and add a test row to confirm where the file lands and what it is called.
More AI Automation workflows
Other ready-to-import templates from the same category.








Import this workflow into your WordPress site
Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.
30-day money-back guarantee Unlimited workflows and runs Self-hosted