Go to example tasks
Classify new Gmail messages with AI and route them
Generates an n8n workflow with a Gmail Trigger, an AI Text Classifier on an OpenAI chat model that labels each email invoice, support or other, a Google Sheets append for invoices and a Slack post for support emails. The classifier's categories and the branch wiring are set from n8n's own definitions. Attach Gmail, OpenAI, Google Sheets and Slack credentials after import.
n8n Workflow Generator - Prompt to Importable JSONmediocre_interest/n8n-workflow-builder
Workflow
Valid
Nodes
Node types
+5 fieldsTextNumberBooleanListObject
Input
What should the workflow do?(required):When a new email arrives in Gmail, classify it with an AI text classifier into 'invoice', 'support' or 'other'. Invoices go to a Google Sheet, support emails are posted to Slack, others are ignored.
Output fields
Workflow
Valid
Nodes
Node types
Credentials to attach
Check before use
Errors
Download JSON
Prompt
Sign up on Apify01
Create your Apify account to access the n8n Workflow Generator - Prompt to Importable JSON.
Start the run02
The Actor will start running based on the input automatically.
Receive the output03
Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.
Integrate into your workflow04
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.
