Zapier Integration
Connect Canvelete with 5,000+ apps using Zapier.
Setup
- Create new Zap in Zapier dashboard
- Configure trigger (select app and event)
- Add action: Webhooks by Zapier
- Select method: POST
- Configure webhook
Configuration
URL
https://api.canvelete.com/api/v1/renderHeaders
{
"Authorization": "Bearer cvt_YOUR_API_KEY",
"Content-Type": "application/json"
}Body (Data)
{
"designId": "YOUR_DESIGN_ID",
"format": "png",
"quality": 90,
"dynamicElements": {
"title": "{{trigger.title}}",
"description": "{{trigger.description}}"
}
}Use Zapier's variable syntax ({{trigger.field}}) to map trigger data to dynamic elements.
Example: Google Sheets → Image
- Trigger: New row in Google Sheets
- Action: Webhook POST to Canvelete
- Map fields:
{{Row.Product Name}}→dynamicElements.product_name.text{{Row.Image URL}}→dynamicElements.product_image.src
Variable Mapping
Map Zapier trigger data to Canvelete dynamic elements:
| Zapier Variable | Canvelete Path |
|---|---|
{{trigger.field}} | dynamicElements.element_id.text |
{{1.field}} | Previous step output |
{{zap_meta_human_now}} | Current timestamp |
Common Workflows
Form Submission → Certificate
Trigger: Typeform response
Action: Generate certificate with form data
CRM Update → Social Card
Trigger: HubSpot contact created
Action: Generate personalized social media card
E-commerce → Product Card
Trigger: Shopify new product
Action: Generate product marketing image
Error Handling
Configure error handling in Zapier:
- Add Filter step to validate data
- Add Paths for conditional logic
- Add Error Handler to catch failures
- Enable Auto-Replay for transient errors
Accessing Image URL
After successful render, access the image URL:
{{data.data.imageUrl}}Use this in subsequent actions (email, social post, storage, etc.).
Rate Limits
Zapier respects your Canvelete API rate limits. Consider:
- Using Delay actions for high-volume Zaps
- Enabling caching with
"cache": true - Batching requests if possible
Troubleshooting
Authentication Failed (401)
- Verify API key is correct
- Ensure
Bearerprefix is included - Check API key hasn't expired
Design Not Found (404)
- Confirm design ID exists
- Verify design isn't archived
- Check design permissions
Invalid Dynamic Elements
- Verify element IDs match design
- Check data types (text vs. image)
- Ensure image URLs are accessible
Best Practices
- Test with sample data before enabling Zap
- Use filters to avoid unnecessary API calls
- Enable caching for repeated renders
- Set up error notifications for monitoring
- Store API keys in Zapier's secure storage