All jobs

How Do I Make a Just Listed Flyer in Canva Every Time a Listing Goes Live? One Agent per Brokerage, Signed Into Its Own Canva

Listing software for real estate brokerages makes one agent per brokerage, signed into its Canva, that fills the brokerage's flyer template for each new listing.

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 listing-management software to real estate brokerages. When a listing goes live, someone at the brokerage opens Canva, finds the Just Listed flyer the brand team built, and retypes the address, price, bedrooms, bathrooms, square footage and open house time from the listing screen, then swaps in four photos. The software already holds every one of those facts. The company saves one agent as a template that names Canva, and makes one agent from it per brokerage, signed into that brokerage's own Canva account, so each flyer lands among the brokerage's own designs and uses its own brand template.

The company connects its own Canva first with POST /me/connections {"type": "mcp", "name": "canva", "url": "https://mcp.canva.com/mcp", "auth": {"mode": "oauth"}} and saves the template with POST /o/{org}/agents naming canva in connections. When a brokerage turns the feature on, the backend calls POST /o/{org}/agents {"template": "<template id>", "name": "flyers-<brokerage id>"}, then POST /o/{org}/agents/{agent}/connections {"type": "mcp", "name": "canva"}, and opens the authorize_url in a popup for the brokerage's marketing lead. They sign in on Canva's own page. The software stores the agent id against the brokerage and registers no Canva app of its own.

On a run the agent calls search-brand-templates for the template the prompt names, then get-brand-template-dataset to read which text and image fields it has. It brings each listing photo into the brokerage's Canva with upload-asset-from-url, and calls autofill-design with the listing facts mapped to those fields. It checks the result with get-design-content, comparing every text field against the facts it was given, and calls get-design for the design's edit link. It then calls export-design for a print PDF and a PNG for social posts, and files the design with search-folders and move-item-to-folder in the brokerage's Listings folder.

Canva's access page lists autofill, brand kits and brand templates under Canva Pro and above, so a brokerage on Canva Free cannot use this feature, and the software checks the plan before offering it. The agent fills fields only with facts from the request. It writes no description of the home, no neighbourhood claims and nothing about who the home suits: the template's instructions say to leave a field empty when the request has no value for it.

Start it with one API call

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

{
  "agent": "<agent id>",
  "input": "Make the Just Listed flyer for this listing. Brand template: \"Just Listed - Letter\". Listing: 418 Alder Court, Unit 3; price $612,000; 3 bedrooms; 2 bathrooms; 1,480 sq ft; open house Saturday 2026-11-28, 1:00-3:00 pm; listing agent Dana Ruiz, 555-0142, dana.ruiz@example.com; listing id L-20931. Photos in order: https://cdn.example.com/l-20931/1.jpg, https://cdn.example.com/l-20931/2.jpg, https://cdn.example.com/l-20931/3.jpg, https://cdn.example.com/l-20931/4.jpg. Call search-brand-templates for the template name and stop if there is not exactly one match. Call get-brand-template-dataset and map each field to a value above; leave a field empty if there is no value for it. Upload the photos with upload-asset-from-url, then call autofill-design with title \"L-20931 418 Alder Court Just Listed\". Read the result with get-design-content and confirm every text field matches the values above exactly; call get-design for its edit link. Export with export-design as PDF and as PNG. Move the design to the folder \"Listings\" (find it with search-folders). Return only JSON: {design_id, edit_url, exports: [{format, url}], fields_filled: [name], fields_empty: [name], mismatches: [string]}. Write no text of your own on the design, and do not share, publish or comment on anything."
}
  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 Just Listed flyer for the new listing in Canva, filled from the listing, with an edit link and a PNG export. The answer is JSON in the session's result and in the run.completed webhook: the new design's id and edit link, the export links Canva returned, the fields it filled, the fields it left empty, and any text that did not match the listing. The software shows the PNG export on the listing screen beside an Open in Canva button, so the listing agent sees it minutes after the listing goes live and can print it for the open house.

What the brokerage checks before printing: that the photos are in the right frames and cropped well, since a template's image field crops to its own shape; that the price and open house time read correctly in the font size the template uses; and anything in mismatches or fields_empty. The flyer is a draft in the brokerage's own Canva. Nobody outside the brokerage sees it until a person shares or prints it.

Run it on every listing that goes live

When a listing's status changes to active, the software sends one POST /o/{org}/sessions with that brokerage's agent id as agent, the listing in input, and a request_id that is a UUID v5 of the listing id and its version, so a retried job does not make a second flyer. A price change sends a new version and makes a new flyer, which keeps the first one for the record.

A brokerage that loads forty listings in one morning gets forty runs. Runs past the key's concurrent limit wait queued and start as slots free, and the prompt keeps each run to a handful of Canva calls, well under the limits Canva publishes for autofill-design and export-design.

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

Why run it on Rush?

Each brokerage signs in to Canva on Canva's own page, and that sign-in belongs to its agent alone: one brokerage's runs cannot open another's designs or brand templates, and the software company never handles a Canva token. The session's accounts field names the Canva connection each run used, and every run has its own computer and a record of each tool call, which is what a brokerage asks to see when a flyer shows the wrong price.

One template serves every brokerage, so adding a field, such as an open house flyer that also prints a QR code to the listing page, is one PATCH to the template. GET /o/{org}/sessions?agent=<agent id> lists one brokerage's runs with their total_cost_usd, so the company can price the feature per listing or per office.

Frequently asked questions

Does the brokerage need a paid Canva plan?

Yes for this job. Canva's MCP docs list autofill and brand templates under Canva Pro and above. Generating, editing and exporting designs work on every plan, so a version of the feature for Free accounts would have to edit a copied design instead of filling a brand template.

Can the agent write the listing description too?

It could, but this template tells it not to. Copy about a home is where a brokerage carries the most risk, so the flyer uses only facts from the listing record. A brokerage that wants a written blurb can add a field to the request with text a person already approved.

What if the brokerage renames its template?

The run stops when search-brand-templates does not find exactly one match, and the result says so. The software can show that on the listing screen and ask the brokerage which template to use, then store the new name for its next run.

Who can see the flyers the agent makes?

They are created in the Canva account that signed in for that brokerage, and Canva stores designs and permissions per user. Sharing them with the rest of the office happens in Canva, by a person, as it does today.

More Canva jobs

More jobs like this: Run an agent per customer task

Keep reading