Data shapes for AI steps in workflows explained simply
Learn what text, JSON, tables and files mean in AI workflows so your tools connect cleanly and avoid broken automations.
Why data shape matters in AI workflows
Every workflow step expects data in a certain shape. That shape can be a single text string, a table, a JSON object, an email, or a file. If the output shape of one step does not match the input shape of the next step, the workflow breaks or behaves in strange ways. As an AI workflow designer you do not need to code, but you must think clearly about what goes in and what comes out of each step. Once you see data as shapes on a conveyor belt, you can plan AI prompts and tool settings so they match and stay stable.
Common input shapes for AI steps
Most AI steps in tools like Zapier, Make or n8n accept a few common input shapes. Single text: for tasks like drafting emails or rewriting content. Key value fields: for prompts that refer to named pieces of data, such as customer_name or invoice_total. Lists of items: for summarising multiple emails or comparing several options. Files or URLs: for reading documents or web pages. When configuring an AI step, read the input description carefully, then map fields so the step gets exactly the shape it expects, instead of raw mixed data.
- •One combined text block
- •Easy to set up
- •Harder to extract structure later
- ✓Separate named fields
- ✓Slightly more setup
- ✓Easier to reuse and route
Typical AI output shapes you will design
AI steps often output plain text by default, like a drafted reply or a summary. For workflows this is only the start. More powerful shapes are bullet lists, tables, or structured JSON. A table output lets you loop through rows, such as tasks or product lines. JSON outputs let you route logic, for example send to Sales if lead_score is high. As a designer you decide which shape matches the next tool. If a CRM expects separate fields, ask the AI to respond in a structured way instead of a long paragraph.
- 🔍1Check next stepWhat shape does the tool need?
- 📐2Design formatText, list, table or JSON?
- ✏️3Write promptDescribe structure very clearly
- 🧪4Test with samplesTry easy and tricky cases
Using JSON and key value pairs safely
JSON is a structured way to send named values, such as {"priority": "high", "owner": "Alex"}. Many platforms let you map JSON fields directly into form fields, spreadsheets or CRMs. The risk is that small AI changes break the shape, for example an extra comment or a missing field. To keep JSON stable, tell the AI to respond with JSON only and list every field you expect. Then validate or parse the output in a separate step if possible. Start simple, for example three fields, and add more once the structure proves stable.
Typical data shape mistakes and how to avoid them
Beginners often send too much mixed data into a step, like whole emails, signatures and system text. The AI then produces outputs that are hard to reuse. Another common issue is changing a prompt so the output shape shifts, for example extra commentary around JSON. To avoid this, strip inputs to what the AI actually needs, and keep business rules in plain language outside the model where you can. When you update a prompt, always re test any steps that rely on that output shape, using both clean and messy real data.
Real-world examples
- • You pull form submissions into a sheet. Instead of dumping the full message text, you ask an AI step to output JSON with fields like topic, urgency and next_action so your automation can route each row.
- • Your support workflow reads incoming emails. You trim footers and signatures, then send only the message body to an AI step that outputs a short summary and a priority level in a table format.
- • You review job applications that arrive as PDFs. An AI step reads each file and returns key value pairs like candidate_name, years_experience and skills_list so your HR tool can filter and tag them.
Useful links
- OpenAI — For general information about AI models and capabilities.
Keep learning
Learn a simple way to compare no-code tools by fit, limits and integrations so you avoid hype and choose the right platform for your workflow.
Prompting for structured AI outputs like JSON that tools can useLearn how to write prompts that return clean JSON or fielded text so you can plug AI results into no code tools and real workflows.
Related courses
More programs on evelin that fit this path. Each one adapts to you after a two minute quiz.
Land Your First Remote Job
You bring your goals and answers, this course shapes itself to your field and pace, adapts with every application you send, and stays by your side beyond your first remote offer
Explore the course →How to Become a Freelance Developer
You turn this into your own path: every answer shapes what comes next, every step adapts to your freelancing style, and the guidance stays with you beyond your first booked client.
Explore the course →How to Master Digital Marketing
This course grows with your business: every answer shapes your path, every step adapts to your channels, and the work continues beyond the first wins into a lasting marketing habit.
Explore the course →How to Become a Remote Virtual Assistant
You bring this course to life with your answers, it adapts to your pace and VA niche, and it keeps guiding you beyond landing your first clients into steady, confident remote work.
Explore the course →Guides from related courses
- Remote work fundamentals: setups, tools, and daily expectations · Land Your First Remote Job
- Client acquisition channels for new freelance developers explained · How to Become a Freelance Developer
- Paid ads testing basics: how to learn fast on a small budget · How to Master Digital Marketing
Turn reading into real progress
A short quiz builds your personal learning path for How to Become an AI Workflow Designer. Lessons adapt to you from day one.
Start the quizCreated with AI assistance and reviewed before publishing.