# Flow generation through natural language: An agentic modeling approach

DevFeed: [Flow generation through natural language: An agentic modeling approach](<https://devfeed.tech/articles/flow-generation-through-natural-language-an-agentic-modeling-approach-1390.md>)

Original publisher: [Read original article](<https://shopify.engineering/fine-tuning-agent-shopify-flow>)

Author: Ted Chaiwachirasak

Published: 2026-04-22T12:32:02Z

Content type: article

Language: en

Sources: [Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering.md>), [Shopify Engineering - Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering-shopify-engineering.md>)

Topics: [AI Bots](<https://devfeed.tech/topics/ai-bots.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [ai](<https://devfeed.tech/tags/ai.md>), [automation](<https://devfeed.tech/tags/automation.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [model](<https://devfeed.tech/tags/model.md>), [synthetic](<https://devfeed.tech/tags/synthetic.md>), [training](<https://devfeed.tech/tags/training.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

Shopify describes fine-tuning Qwen3-32B into a tool-calling agent that generates Flow automations from natural-language requests. The article focuses on constructing synthetic training data from validated workflows and evaluating the resulting model.

## Source excerpt

We fine-tuned Qwen3-32B into a tool-calling agent that generates Flow automations from natural language--faster, cheaper, and more accurate than the frontier model it replaced, with a weekly retraining flywheel built on real merchant data.