All jobs

How Can Studio Booking Software Make Each Studio's Weekly Class Timetable in Its Own Canva? One Agent per Studio, Filling Its Brand Template

Booking software for fitness studios makes one agent per studio, signed into the studio's Canva, that fills its timetable template with next week's classes.

Run this on RushOpens the console with this prompt ready to send. Connect Canva there first.

What the agent does

This is for a company that sells class booking software to boutique fitness studios: yoga, pilates, cycling and climbing gyms with one to three rooms and a schedule that changes every week as instructors swap shifts and add workshops. Every studio posts next week's timetable as an image on Instagram and on the screen at the front desk, and most make it by hand in Canva on Sunday night, retyping the times from the booking software. The software saves one agent as a template, makes one agent per studio signed into that studio's own Canva, and each week sends it the schedule it already holds, so the studio opens Canva on Friday to a finished timetable in its own fonts and colours.

The company connects its own Canva first and saves the template with POST /o/{org}/agents, naming canva in connections. When a studio turns the feature on, the backend calls POST /o/{org}/agents {"template": "<template id>", "name": "timetable-<studio id>"} and then POST /o/{org}/agents/{agent}/connections {"type": "mcp", "name": "canva"}, and opens the authorize_url in a popup for the studio owner to sign in on Canva's own page. The software stores the agent id against the studio and registers no Canva app. Canva's tools reference marks the brand template and autofill tools "Pro and above", available to Canva Pro, Business and Enterprise plans, so the software offers the feature to studios on those plans.

On a run the agent calls search-brand-templates for the studio's template by the name in the request, for example "Weekly timetable", and get-brand-template-dataset to read the fields the studio set up in it, typically one for the week's dates and one per day. It lays out the classes from the request into those fields in the format the studio asked for (time, class, instructor, room), uses only the field names the dataset returns, and calls autofill-design to make a new design from the template with that data.

It then calls export-design as PNG, and create-folder and move-item-to-folder to keep the new design in a Timetables folder in the studio's Canva, named with the week. It does not post anything, change the brand template, or edit other designs. Canva's reference lists autofill-design at 60 requests a minute and export-design at 20 a minute per user, which one design a week sits well inside.

Start it with one API call

POST https://api.phoenix.so/o/{org}/sessions with this body:

{
  "agent": "<agent id>",
  "input": "Make next week's class timetable for Willow Street Yoga, week of Monday 2026-11-30 to Sunday 2026-12-06. Call search-brand-templates for 'Weekly timetable' and get-brand-template-dataset to read its fields; use only those fields. Classes (day | time | class | instructor | room): Mon | 07:00 | Slow Flow | Priya | Studio A; Mon | 18:30 | Vinyasa 2 | Marco | Studio A; Tue | 12:15 | Lunch Express | Priya | Studio B; Wed | 07:00 | Slow Flow | Dana | Studio A; Thu | 19:00 | Yin | Marco | Studio A; Sat | 09:00 | Beginners Workshop (sold out) | Dana | Studio A; Sun | 10:00 | Vinyasa 1 | Priya | Studio A. Fill the date field with '30 Nov - 6 Dec'. In each day's field write one line per class as 'HH:MM  Class - Instructor (Room)'; write 'No classes' for a day with none. If a field the prompt needs is missing from the dataset, say so and stop rather than guessing another field. Call autofill-design to create the design titled 'Timetable 2026-11-30', export-design as PNG, and move it with move-item-to-folder into a folder named 'Timetables' (create-folder if it does not exist). Return JSON: {design_id, design_url, export_url, warnings: [string]}. Do not edit or publish the brand template, and do not change any other design."
}
  1. Get an API key. In the console, open Settings, then API keys, and create a key for your org. Send it in the Authorization header as a Bearer token.
  2. Send the request. POST the body in request.json to https://api.phoenix.so/o/{org}/sessions. The run starts in its own cloud sandbox.
  3. Read what came back. Follow the run on its live stream or wait for the run.completed webhook, then read the result and its trajectory.

What comes back

The answer is JSON in the session's result and in the run.completed webhook the software's API key sends: the new design's id and link, the exported PNG's link, and any warning, such as a field the template does not have or a day with an unusually long list. The software shows the PNG in the studio's dashboard on Friday with a link to open the design in Canva, where the owner can nudge a line or swap a photo before posting.

What the studio checks before posting: the times and instructors against what it actually agreed this week, since the agent writes what the booking software sent and a swap made by text message is not in it; a sold-out or cancelled class, which the software marks in the data; and the look on a phone, since a long class name can wrap. The studio posts the image itself, to Instagram or the front-desk screen.

Run it on every Friday, per studio

The software's scheduler sends one POST /o/{org}/sessions per studio on Friday morning in that studio's time zone, with the studio's agent id as agent and next week's classes from its own database in input, and a request_id that is a UUID v5 of the studio id and the week, so a retried job does not make two designs. Studios whose schedule changes later in the week can press a button that sends the same request again with a new request_id.

Runs past the API key's concurrent limit wait queued and start as earlier ones finish, so a software company with eight hundred studios sends all of them on Friday and reads each result from its webhook as it arrives.

The use case this job follows, with its automation and trigger: Run an agent per customer task.

Why run it on Rush?

Each studio signs in on Canva's own page, and the sign-in belongs to that studio's agent alone: no run can open another studio's designs or brand kit. The session's accounts names the Canva connection each run used, and GET /o/{org}/sessions?agent=<agent id> lists one studio's runs, which is what the software's support team reads when a studio asks why this week's timetable looked wrong.

Each run has its own computer and a record of every Canva tool it called with what it sent, so a wrong time can be traced to the data the software sent rather than argued about. Adding up the total_cost_usd of one studio's sessions gives the software what the feature costs per studio, which it needs to price it.

Frequently asked questions

What if a studio has no brand template yet?

The agent finds nothing with search-brand-templates and says so in warnings without making anything. The software can link the studio to a starter timetable it shares, which the studio turns into its own brand template in Canva once, with fields named the way the prompt expects.

Does this work on Canva's free plan?

Not with brand templates: Canva's MCP tools reference lists the brand template and autofill tools as Pro and above. A studio on the free plan can still connect, but the run cannot fill a template, so the software checks the studio's plan before offering the feature.

Can the agent post the timetable to Instagram as well?

Not from Canva's tools on this page, and the studio usually wants to look first. The software can hand the exported PNG to whatever posting flow it already has, after the studio approves it.

What happens when a studio disconnects Canva?

The agent's missing_connections lists Canva again and new runs are refused 422 CONNECTION_NOT_READY before a computer starts. The software reads that from GET /o/{org}/agents/{agent} and asks the studio to reconnect.

More Canva jobs

More jobs like this: Run an agent per customer task

Keep reading