Templates: make it again with new inputs
Browse your templates by example, start one in a chat and fill in the blanks, continue a stopped run without paying twice, and favorite or copy templates from Discover.
Updated
A template is a graph: the steps that made something, saved so you can run them again with new material. A listing tour, a product spin or a podcast clip: the template keeps the steps that made it, and you give it what changes next time, such as a listing link, a product photo or a headline.
- Save
Finish something you like in a conversation and choose Make this reusable.
- Find
Open My templates and pick the one you want.
- Start
Choose Use this template. A new chat opens with the details to fill in.
- Send
Replace the blanks, attach any files and send.
Find your templates
My templates shows every template in this workspace as a tile with an example of what it makes. Open it from My library: choose Library tools, then My templates. You can also go straight to /app/templates.
Choose a tile to open that template's page. It plays the example and lists its format, its length and what you'll provide. Anything optional is under You can also add.
A template with no example says No example yet. When a template that makes video finishes a run in a chat, the agent offers to use what it made as the example.
Templates belong to the workspace: everyone who works in it sees the same templates. Switch workspace to see that workspace's templates.
Make something with a template
- On the template's page, choose Use this template. A new chat opens with a message ready to finish, and its first blank selected.
- Type over the blank. Press Tab to go to the next one, or click a blank to select all of it.
- For a blank that asks for a file, attach the file with the + in the message box.
- Delete the optional lines you don't need. Anything you leave in [brackets] counts as not filled in.
- Choose Send.
Make a new "Listing tour" from my saved graph listing_tour, with:
Listing URL: https://www.example.com/listing/123Nothing runs until you send. If the message is missing something the template needs, the agent asks for it. A message starts one template: if New chat already has one waiting, send it or clear it first.
The template runs exactly as it was saved. The agent fills in the details from your message, runs the template, and shows you the result with anything the template's own checks found. In that reply it doesn't change the template or remake the result: if something should change, it says what, and you can ask for it in your next message. If your message asks for something the template has no detail for, the agent asks before running it.
A long run can take up to an hour. You can leave the page; the run carries on, and the result appears in the conversation and in your Library.
A run spends credits for the work its steps do, as the same work would in any conversation, and the agent's reply is charged like any other turn. See Understand credits, reservations and charges.
Continue a run that stopped
A run can stop before it finishes: it reached the one-hour limit, or a step failed. The agent says so in the conversation. Ask it to continue:
Continue that run.It picks up where it stopped, with the same inputs. Steps that already finished are reused. They don't run again and aren't charged again; only the rest runs.
Turn a creation into a template
- Finish something in a conversation that you want to make again: an image, a video or audio.
- Under the agent's reply, in Try next, choose Make this reusable. The button appears when the latest turn made an image, video or audio.
- The agent reads how the work was made and saves it as a template, with what it made as the example. Its reply names the template and what it needs, for example Listing URL and Music style.
Saving doesn't run the template. The agent's turn is charged like any other turn.
The template keeps what actually worked: the same models, prompts and edit steps. Choices that were made by hand, such as which photos to use and in what order, become steps that decide them again from the new material. So a listing tour adapts to a house with 22 photos as well as one with 44.
You can also ask in your own words, and say what you want to change each time:
Make this reusable as a template. The inputs should be the product page link and the headline.Check that it worked
Open My templates at /app/templates. The new template has a tile.
Change a template
On the template's page, choose Ask for a change, or ask in any conversation. For example:
Change my listing tour template so the music is calmer and the end card shows the price.The agent edits the saved template, and the next run uses the change.
Add a template someone gave you
Someone can give you a template as its file, a .json file such as listing_tour.json. To add it to your templates:
- Start a conversation, attach the
.jsonfile to your message, and send:
``brief Save this as a reusable template in my templates.
- The agent saves it in this workspace and replies with its name and what it needs.
- Open My templates at /app/templates. The template has a tile, ready to use with your own details.
The copy is yours: change it as you like. It doesn't change when the person who gave it to you changes theirs.
Templates from Discover: favorite one or add a copy
Published templates are in Discover under Graphs. Open one to see what it makes, what it needs and its examples. Then choose either:
- Favorite (the bookmark at the top of the card). The template appears under Favorites at the top of My templates, ready to use as published. It is also in My library › Saved.
- Add to my templates. This saves your own copy under Your templates. You can ask the agent to change it, and it doesn't change when its creator publishes a new version. A copy starts with no example.
A favorite keeps the exact version you chose. When its creator publishes a later version, the favorite's page in My templates says so; choose Use version 2 (or whichever is newer) to switch. If the creator withdraws a template, it leaves your favorites; a copy you added stays. On a favorite's page, Remove from favorites takes it off your list, Add a copy to my templates makes your own copy, and Open listing returns to its page in Discover.
Favorites and your templates belong to the workspace, so everyone who works in it sees the same ones.
Publish a template
Wavemaker staff publish templates to Discover from a template's page in My templates: Publish opens the same steps as publishing from a conversation, with the category set to Flow graph. Publishing an unchanged template again keeps its current version; after a change it becomes the next version. See Publish your work and manage listings.
Use a graph from an agent, the CLI or the API
Underneath, a template is a graph: a file in your workspace, for example wm://memory/graphs/listing_tour.json. An agent connected to Wavemaker can read it and run it; ask it to "run my listing tour graph" with the inputs you want.
For developers: adding a graph is one write to a wm://memory/graphs/ uri, with the JSON as content or a link to it as from_url. In code, wm.graph.run(uri, inputs, key) runs a graph inside run. From the command line, wm graph wm://memory/graphs/listing_tour.json --input listing_url=https://... --key tour-1 runs it, and --check checks the graph and inputs without spending anything. Running again with the same key continues a stopped run.
Troubleshooting
| What you see | What it means | What to do |
|---|---|---|
| No graphs yet | Nothing has been saved as a graph in this workspace. | Make something in a conversation, then choose Make this reusable. |
| Make this reusable isn't offered | The latest turn didn't make an image, video or audio. | Ask for it in your own words, as above. |
| No example yet on a tile | The graph hasn't finished a video run, or its example belongs to another workspace. | Use the graph once. |
| The agent asks for something you filled in | It couldn't read that line, or the blank is still in brackets. | Answer in the chat. |
| The run stopped | It reached the time limit, or a step failed. | Ask the agent to continue. Finished steps aren't charged again. |
| A favorite is gone from My graphs | Its creator withdrew that version. | Find the graph in Discover again, or use the copy if you added one. |
If a run fails again at the same step, see Recover interrupted or uncertain work.
Related
- Library: find, organize and reuse your work
- Check graph and method requirements, for Comfy graphs you import
- Connect an external agent with MCP