Skip to main content Home Creators comeonoliver skillshub canva-core-workflow-b
canva-core-workflow-b Execute Canva asset management, brand template autofill, and folder organization.
Use when uploading assets, autofilling brand templates with dynamic data,
or organizing designs into folders via the Connect API.
Trigger with phrases like "canva assets", "canva brand template",
"canva autofill", "canva folders", "canva upload image".
Jump to install Skills Marketplace Discover and explore AI skills built by the community.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Copy promptShow prompt details A direct command skips the review prompt. Inspect the source before running it.
npx skills add https://github.com/ComeOnOliver/skillshub --skill canva-core-workflow-bThe command stays on one line. Scroll horizontally to inspect it before copying.
Prefer a local copy? Download the files currently available to SkillsMP.
Download Zip Downloading... More from this repository Review product and feature risk before an AI coding agent starts implementation.
Use Xquik for X data and confirmation-gated X actions: tweet search, user lookup, follower export, media download, monitors, webhooks, MCP, and SDK workflows.
Canton Network open-source ecosystem guide covering DAML SDK, Canton runtime, and Splice applications. Use when working with Canton Network, DAML smart contracts, or building decentralized applications.
Related occupations SOC
Based on SOC occupation classification
name canva-core-workflow-b description Execute Canva asset management, brand template autofill, and folder organization.
Use when uploading assets, autofilling brand templates with dynamic data,
or organizing designs into folders via the Connect API.
Trigger with phrases like "canva assets", "canva brand template",
"canva autofill", "canva folders", "canva upload image".
allowed-tools Read, Write, Edit, Bash(npm:*), Grep version 1.0.0 license MIT author Jeremy Longshore <jeremy@intentsolutions.io> tags ["saas","design","canva"] compatible-with claude-code
Canva Core Workflow B — Assets, Autofill & Folders
Overview
Secondary workflow: upload assets to Canva, autofill brand templates with dynamic data (text, images, charts), and organize content with folders. Autofill requires a Canva Enterprise organization.
Prerequisites
Completed canva-install-auth with valid access token
Scopes: asset:read, asset:write, brandtemplate:meta:read, brandtemplate:content:read, design:content:write, folder:read, folder:write
Asset Management
Upload an Asset (Binary)
import { readFileSync } from 'fs' ;
async function uploadAsset (
filePath : string ,
name : string ,
token : string
): Promise <{ id : string ; status : string }> {
const nameBase64 = Buffer .from (name).toString ('base64' );
const fileData = readFileSync (filePath);
const res = await fetch ('https://api.canva.com/rest/v1/asset-uploads' , {
: ,
: {
: ,
: ,
: . ({ : nameBase64 }),
},
: fileData,
});
(!res. ) ( );
res. ();
}
uploadJob = ( , , token);
method
'POST'
headers
'Authorization'
`Bearer ${token} `
'Content-Type'
'application/octet-stream'
'Asset-Upload-Metadata'
JSON
stringify
name_base64
body
if
ok
throw
new
Error
`Upload failed: ${res.status} `
return
json
const
await
uploadAsset
'./hero-banner.png'
'Hero Banner Q1'
Upload an Asset via URL
const { job } = await canvaAPI ('/url-asset-uploads' , token, {
method : 'POST' ,
body : JSON .stringify ({
name : 'Product Photo' ,
url : 'https://example.com/images/product-shot.jpg' ,
}),
});
Get, Update, Delete Assets
const asset = await canvaAPI (`/assets/${assetId} ` , token);
await canvaAPI (`/assets/${assetId} ` , token, {
method : 'PATCH' ,
body : JSON .stringify ({ name : 'Updated Name' , tags : ['brand' , 'q1' ] }),
});
await canvaAPI (`/assets/${assetId} ` , token, { method : 'DELETE' });
Brand Template Autofill
Step 1: List Available Brand Templates
const templates = await canvaAPI ('/brand-templates' , token);
for (const tmpl of templates.items ) {
console .log (`${tmpl.title} — ID: ${tmpl.id} ` );
}
Step 2: Get Template Dataset (Autofillable Fields)
const { dataset } = await canvaAPI (
`/brand-templates/${templateId} /dataset` , token
);
for (const [field, config] of Object .entries (dataset)) {
console .log (`Field: ${field} , Type: ${config.type } ` );
}
Step 3: Create Design from Template via Autofill
const { job } = await canvaAPI ('/autofills' , token, {
method : 'POST' ,
body : JSON .stringify ({
brand_template_id : templateId,
title : 'March Newsletter — Generated' ,
data : {
headline : {
type : 'text' ,
text : 'Spring Collection Is Here' ,
},
hero_image : {
type : 'image' ,
asset_id : uploadedAssetId,
},
price : {
type : 'text' ,
text : '$29.99' ,
},
},
}),
});
let autofillJob = job;
while (autofillJob.status === 'in_progress' ) {
await new Promise (r => setTimeout (r, 2000 ));
const poll = await canvaAPI (`/autofills/${autofillJob.id} ` , token);
autofillJob = poll.job ;
}
if (autofillJob.status === 'success' ) {
const newDesign = autofillJob.result .design ;
console .log (`Autofilled design: ${newDesign.id} ` );
console .log (`Edit: ${newDesign.urls.edit_url} ` );
}
Autofill with Chart Data const { job } = await canvaAPI ('/autofills' , token, {
method : 'POST' ,
body : JSON .stringify ({
brand_template_id : templateId,
title : 'Q1 Report' ,
data : {
sales_chart : {
type : 'chart' ,
chart_data : {
rows : [
{ cells : [{ type : 'string' , value : 'Jan' }, { type : 'number' , value : 45000 }] },
{ cells : [{ type : 'string' , value : 'Feb' }, { type : 'number' , value : 52000 }] },
{ cells : [{ type : 'string' , value : 'Mar' }, { type : 'number' , value : 61000 }] },
],
},
},
},
}),
});
Folder Management
const { folder } = await canvaAPI ('/folders' , token, {
method : 'POST' ,
body : JSON .stringify ({
name : 'Q1 Campaign Assets' ,
parent_folder_id : 'root' ,
}),
});
console .log (`Folder created: ${folder.id} ` );
const items = await canvaAPI (`/folders/${folder.id} /items` , token);
await canvaAPI ('/folders/move' , token, {
method : 'PATCH' ,
body : JSON .stringify ({
item_id : designId,
to_folder_id : folder.id ,
}),
});
Error Handling Error Cause Solution 400 Design title invalid Title empty or > 255 chars Validate input 403 Forbidden Not Enterprise org (autofill) Requires Canva Enterprise 404 Not Found Template ID doesn't exist Verify template ID file_too_bigAsset exceeds size limit Compress or resize import_failedUnsupported file format Check supported formats autofill_errorField name mismatch Check dataset first
Resources
Next Steps For common errors, see canva-common-errors.