All jobs

How Can Ticketing Software Make a Poster for Each New Event in the Organizer's Own Canva? One Agent per Organizer

An event ticketing platform makes one agent per organizer, signed into their Canva, that fills the organizer's poster template each time they publish an event.

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

What the agent does

This is for a ticketing platform used by small event organizers: comedy nights in the back room of a bar, a monthly supper club, a run club's race series, community theatre. Every time an organizer publishes an event, they also need a poster for their Instagram and the venue's door, and most of them already have a poster template in their own Canva with their fonts, colours and logo. Copying the date, the venue and the lineup into it by hand is the step they skip. The platform offers a button, "Make my poster", and an agent fills the organizer's own template from the event the moment it is published.

The platform connects its own Canva once and saves the agent as a template with POST /o/{org}/agents, naming canva in connections and instructions that say which Canva tools it may use. When an organizer turns the feature on, the backend calls POST /o/{org}/agents {"template": "<template id>", "name": "poster-<organizer id>"}, then POST /o/{org}/agents/{agent}/connections {"type": "mcp", "name": "canva"}, and opens the authorize_url in a popup while the organizer is signed in to the platform. The organizer signs in on Canva's own page, so the platform registers no Canva integration and holds no Canva token; it stores the agent id against the organizer.

Canva's tools reference marks search-brand-templates, get-brand-template-dataset and autofill-design "Pro and above", so the platform shows the button only to organizers on a Canva plan at Pro or above. On a run the agent calls search-brand-templates with the template name the organizer chose in settings, such as "Event poster", and get-brand-template-dataset to read the fields the organizer marked in it: usually a title, a date line, a venue, a lineup and an image. It fills only those fields from the event details in the request, shortening a long lineup to fit rather than inventing a new field.

It calls autofill-design to create the poster, then create-folder once for a "Posters" folder if the organizer has none (found with search-folders) and move-item-to-folder to put the new design there. Last, it calls export-design for a PNG at the size the template already has. It does not change the brand template itself, does not publish or share anything, and does not use generate-design or generate-image, so the poster looks like the organizer's previous ones.

Start it with one API call

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

{
  "agent": "<agent id>",
  "input": "Make the poster for this new event. Organizer: Back Room Comedy. Brand template name: 'Event poster'. Event: 'Back Room Comedy: December Showcase'; Friday 2026-12-11, doors 7:00 pm, show 7:30 pm; venue: The Lantern, 214 Pine St, Portland; lineup: Dee Alvarez (headliner), Sam Okafor, Lu Chen, Maya Ortiz; host: Ben Reyes; tickets: backroomcomedy.example/dec; price line: none. 1) Call search-brand-templates for 'Event poster' and stop if there is not exactly one. 2) Call get-brand-template-dataset and use only the fields it returns; map title, date and time, venue, lineup (headliner first), host and ticket link to the closest field, and leave a field empty rather than invent text. 3) Call autofill-design with a design title 'Poster - December Showcase - 2026-12-11'. 4) Find a folder named 'Posters' with search-folders; create it with create-folder if missing; move the design there with move-item-to-folder. 5) Call export-design as PNG. Return JSON only: {design_id, design_url, export_url, fields_filled: [..], fields_left_empty: [..], notes}. Never edit or publish the brand template, never share the design, never generate new images.",
  "connections": [
    "canva"
  ]
}
  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 run makes a poster for the new event in the organizer's own Canva, with a link to edit it and an exported PNG. The answer is JSON in the session's result and in the run.completed webhook the platform's API key sends: the new design's id and link, the exported PNG's link, and which template fields were filled or left empty. The platform shows the poster on the event page in the organizer's dashboard with two buttons, Open in Canva and Download.

What the organizer checks before posting it: names spelled the way the performers spell them, a lineup that fits without the last name being cut, and the time zone of the date line. A field left empty is listed in fields_left_empty, which usually means the template has no place for that detail; the organizer either adds one in Canva or lets it go. Nothing is posted anywhere until the organizer does it.

Run it on every event an organizer publishes

When an organizer publishes an event with the feature on, the platform's backend sends POST /o/{org}/sessions with the organizer's agent id as agent, the event's details in input, and a request_id that is a UUID v5 of the event id and its last edit time, so a retried job makes one poster, and an edited event makes a new one.

A Friday afternoon when two hundred organizers publish next month's events starts two hundred small runs. Past the API key's concurrent limit they wait queued and start in turn, and each poster arrives on the webhook. Canva caps its server at 300 requests a minute per user, with lower limits on some tools such as 60 autofill-design calls a minute, and each organizer's agent signs in as that organizer, so the platform's busiest organizer does not use up another's allowance.

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

Why run it on Rush?

Each organizer signs in to Canva on Canva's page, and the account belongs to that organizer's agent only: no run can open another organizer's designs, and the platform's own runs never see them. An organizer who leaves is one DELETE /o/{org}/agents/{agent}, which disconnects their Canva. The session's accounts names the Canva connection each run used, which answers an organizer who asks what the platform touched.

Each run has its own computer and a record of every Canva call, so when an organizer says the poster put the wrong venue on it, the platform opens the session and sees what the request said and which field it filled. GET /o/{org}/sessions?agent=<agent id> lists one organizer's runs, and adding up their total_cost_usd shows what the feature costs per organizer.

Frequently asked questions

What if the organizer has no brand template?

The run stops at the first step and says no template matched. Brand templates and autofill need Canva Pro or above, so the platform asks the organizer to mark a design as a brand template and name it, and keeps the button off until they do.

Can it make the Instagram story and square versions too?

Canva has a resize-design tool, marked Pro and above, which makes a copy in another size. Add the sizes to the template's instructions and the agent resizes the new poster, though text often needs a person's nudge after a resize.

Does it upload the organizer's photos?

Only when the request gives a public image URL; then upload-asset-from-url adds it to the organizer's Canva and the agent puts it in the template's image field. Without one, the template keeps its own image.

Does an edit to the event update the poster?

No. Each run makes a new design, so the old one stays as it was. The platform can start a new run when an event's date, venue or lineup changes, and the organizer deletes the old design in Canva.

More Canva jobs

More jobs like this: Run an agent per customer task

Keep reading