This workflow corresponds to n8n.io template #5922 — we link there as the canonical source.
This workflow follows the Form Trigger → Google Drive recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"meta": {
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "1dbacde4-6cb5-46c1-8542-57803ecce72d",
"name": "Trigger: Food Emoji Form Submission",
"type": "n8n-nodes-base.formTrigger",
"position": [
-180,
-400
],
"parameters": {
"options": {},
"formTitle": "Submit a food item",
"formFields": {
"values": [
{
"fieldLabel": "What food emoji would you like to generate?",
"placeholder": "a green apple",
"requiredField": true
}
]
},
"formDescription": "Enter a food name (e.g. avocado, donut) to generate a 400\u00d7400-pixel 3D emoji \ud83e\udd51"
},
"typeVersion": 2.2
},
{
"id": "586fb2f5-0190-4118-a0d5-1aff2ad54eab",
"name": "Prepare Style\u2011JSON Prompt",
"type": "n8n-nodes-base.set",
"position": [
60,
-400
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "b6d8f708-9e12-4002-8800-0c32b7fe27ee",
"name": "=json_generator",
"type": "string",
"value": "=Given the food item: \"{{ $json['What food emoji would you like to generate?'] }}\", generate a JSON object describing how it should be styled as a 3D-rendered emoji-style icon suitable for use in a digital food icon set. The style should be modern, playful, and semi-realistic, with a transparent background and a 400x400 pixel size.\n\nThe JSON should include these sections:\n\n- form (shape, outline, detail)\n\n- lighting (gloss, shadow, detail)\n\n- texture (surface, detail)\n\n- background (type, detail)\n\n- color_handling (strategy, look, detail)\n\n- color_palette (detail)\n\nAdapt each parameter thoughtfully based on the physical properties and personality of the given food item."
}
]
}
},
"typeVersion": 3.4
},
{
"id": "b1baad14-1ac6-42ca-9c4c-90aec4e3581d",
"name": "LLM: Generate Style\u2011JSON",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
260,
-400
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini",
"cachedResultName": "GPT-4.1-MINI"
},
"options": {},
"messages": {
"values": [
{
"content": "={{ $json.json_generator }}"
}
]
},
"jsonOutput": true
},
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.8
},
{
"id": "b120e2ce-b91b-4b8b-a869-e3fc7c5dcf11",
"name": "Image\u2011Gen: Render Food Emoji Icon",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
600,
-400
],
"parameters": {
"model": "gpt-image-1",
"prompt": "=Generate a 3D-rendered emoji-style digital icon of a {{ $('Trigger: Food Emoji Form Submission').item.json['What food emoji would you like to generate?'] }}, designed with the following visual specifications:\n{{ $json.message.content.toJsonString() }}\n\nRender the icon centered in a 400x400 pixel square, isolated on a transparent background, with no props or text. The result should look like a high-quality digital food emoji: slightly exaggerated, clean, friendly, and polished \u2014 consistent with a modern mobile icon set.\n",
"options": {},
"resource": "image"
},
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.8
},
{
"id": "0b04e850-a174-46f6-b9df-28a81eae24cb",
"name": "Save to Google Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
820,
-400
],
"parameters": {
"name": "={{ $('Trigger: Food Emoji Form Submission').item.json['What food emoji would you like to generate?'] }}",
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "list",
"value": "root",
"cachedResultName": "/ (Root folder)"
},
"inputDataFieldName": "=data"
},
"credentials": {
"googleDriveOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 3
},
{
"id": "420a9a11-a714-4489-bb9d-4c8398244a83",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-260,
-520
],
"parameters": {
"height": 340,
"content": "## | INPUT: Intake Form"
},
"typeVersion": 1
},
{
"id": "79e68bf4-aeb1-46cd-a18c-e0ed9ac9ecb5",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
20,
-520
],
"parameters": {
"color": 4,
"width": 720,
"height": 340,
"content": "## | Step 1: Generate Image"
},
"typeVersion": 1
},
{
"id": "7eb01630-14cf-4782-a6d0-a5f7d5a06bab",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
780,
-520
],
"parameters": {
"color": 5,
"height": 340,
"content": "## | Step 2: Upload to Google Drive"
},
"typeVersion": 1
},
{
"id": "80517e7d-8511-42b5-9e24-774c22e0a2fe",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-260,
-140
],
"parameters": {
"color": 7,
"width": 1280,
"height": 380,
"content": "## \ud83d\ude80 Setup Requirements\n\nTo get started with this workflow, follow these steps:\n\n1. **\ud83d\udd11 Configure Credentials**: Set up your API credentials for OpenAI and Google Drive\n2. **\ud83d\udcb3 Add OpoenAI Credit**: Make sure to add credit to your OpenAI account, verify your organization (required for generating images)\n3. **\ud83d\udcca Connect Google Drive**: Authenticate your Google Drive account\n4. **\u2699\ufe0f (Optional) Customize Prompts**: Adjust the prompts within the workflow to better suit your specific needs\n\n**Note: Each image generation will cost you about $0.17**"
},
"typeVersion": 1
}
],
"connections": {
"LLM: Generate Style\u2011JSON": {
"main": [
[
{
"node": "Image\u2011Gen: Render Food Emoji Icon",
"type": "main",
"index": 0
}
]
]
},
"Prepare Style\u2011JSON Prompt": {
"main": [
[
{
"node": "LLM: Generate Style\u2011JSON",
"type": "main",
"index": 0
}
]
]
},
"Image\u2011Gen: Render Food Emoji Icon": {
"main": [
[
{
"node": "Save to Google Drive",
"type": "main",
"index": 0
}
]
]
},
"Trigger: Food Emoji Form Submission": {
"main": [
[
{
"node": "Prepare Style\u2011JSON Prompt",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
googleDriveOAuth2ApiopenAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow allows users to generate beautifully stylized 3D-rendered food emoji icons based on a simple text prompt. It combines user input, structured visual design generation, and image rendering using OpenAI’s GPT models. Collects user input via a form: e.g. "green apple"…
Source: https://n8n.io/workflows/5922/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Goal: This workflow demonstrates the full fluidX THE EYE integration — starting a live session, inviting both the customer (via SMS) and the service agent (via email), and then accessing the media (ph
This workflow is ideal for content creators, training providers, agencies, and businesses that need to quickly turn raw videos into polished, captioned, or narrated content — without hiring editors or
This workflow automates the process of creating high-quality articles using AI, organizing them in Google Drive, and tracking their progress in Google Sheets. It's perfect for marketers, bloggers, and
What it is An automated LinkedIn content system that takes a simple form (idea + optional file), generates LinkedIn posts with OpenAI, stores them in Notion, builds Google Slides carousels, and auto-p
Automate the entire process of converting any website or domain into clean, structured, AI-ready knowledge bases for Large Language Models (LLMs), semantic search, and chatbot development. URL Input v