Skip to main content
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".
Ir a la instalación Skills Marketplace Descubre y explora habilidades de IA creadas por la comunidad.
Ocupaciones relacionadas SOC
Basado en la clasificación ocupacional SOC
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Copiar promptMostrar detalles del prompt Un comando directo omite el prompt de revisión. Revisa el origen antes de ejecutarlo.
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill canva-core-workflow-bEl comando permanece en una sola línea. Desplázate horizontalmente para revisarlo antes de copiarlo.
¿Prefieres una copia local? Descarga los archivos que SkillsMP tiene disponibles ahora.
Descargar Zip Descargando... Más de este repositorio Implement user sign-up and sign-in flows with Clerk.
Use when building authentication UI, customizing sign-in experience,
or implementing OAuth social login.
Trigger with phrases like "clerk sign-in", "clerk sign-up",
"clerk login flow", "clerk OAuth", "clerk social login".
Implement session management and middleware with Clerk.
Use when managing user sessions, configuring route protection,
or implementing token refresh and custom JWT templates.
Trigger with phrases like "clerk session", "clerk middleware",
"clerk route protection", "clerk token", "clerk JWT".
Configure enterprise SSO, role-based access control, and organization management.
Use when implementing SSO integration, configuring role-based permissions,
or setting up organization-level controls.
Trigger with phrases like "clerk SSO", "clerk RBAC",
"clerk enterprise", "clerk roles", "clerk permissions", "clerk organizations".
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.5.0 license MIT author Jeremy Longshore <jeremy@intentsolutions.io> tags ["saas","design","canva"] compatibility Designed for 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.