Skip to content
MuleSoftForge Studio AI v0.5.14
Step 3 of 4

Discover Studio AI

Build your first Mule flow with MuleSoftForge Studio AI, from an empty project to a plan you review

Discover Studio AI ​

Build a small Mule flow from an empty project. You ask in Plan mode first, so you see what the AI wants to do before any file changes. You need the plugin installed and a provider set up.

1. Plan the flow ​

Create the project mymulesoftforge-studio-ai-app, open MuleSoftForge Studio AI, select Plan, and paste this prompt:

text
Create a Mule 4 flow with an HTTP Listener triggered by a POST request to the /api/customers path. The flow will receive a JSON customer payload containing customerId, fullName, and email. Use a Transform Message (DataWeave 2.0) component to convert this JSON into XML, ensuring the XML has a root node called <Customer>. Add Logger components immediately before and after the transformation to print the payload to the console.

Plan mode reads the project and answers with a plan. It does not change files. To learn more about the modes, see Use the chat.

2. Build it in Agent mode ​

Draft selected changes for review switches to Agent mode. Review the proposed files, then Accept. The flow appears on the canvas.

3. Run and debug with AI ​

Add a breakpoint, start a debug session, and ask Studio AI to call the endpoint. The debugger stops on the JSON payload.

4. Add metadata ​

Ask Studio AI for sample metadata for the Transform Message. Accept the files, then close and reopen the XML, run Project > Clean, and update Maven with Alt+F5.

5. Fix the DataWeave ​

If the DataWeave editor shows an issue, right-click and choose Fix with MuleSoftForge Studio AI. Review the diff, apply it, and save.

Next: use the chat.

Site content released under the Apache License 2.0. Each asset carries its own license. RSS · llms.txt