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".
설치로 이동 Skills Marketplace 커뮤니티가 만든 AI 스킬을 발견하고 탐색하세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill canva-core-workflow-b명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Zip 다운로드 다운로드 중... jeremylongshore
jeremylongshore/claude-code-plugins-plus-skills
GitHub 저장소 열기 이 저장소의 다른 Skills 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.