Make (Integromat)
Build powerful visual automations with Make. Perfect for complex scenarios with branching logic and data transformations.
Visual Workflow Builder
Drag-and-drop interface with powerful data mapping and transformation tools
Why Make + SudoMock?
Visual Data Mapping
Intuitive interface for complex data transformations
Branching & Routers
Build conditional workflows with multiple paths
Error Handling
Built-in retry logic and error routes
Scheduling
Run scenarios on custom schedules
Quick Setup
Use Make's HTTP module to connect to SudoMock:
Create a New Scenario
In Make, click "Create a new scenario" and add your trigger module.
Add HTTP Module
Add an HTTP → Make a request module and configure:
- URL:
https://api.sudomock.com/api/v1/renders - Method:
POST - Body type:
Raw - Content type:
JSON (application/json)
Configure Headers
Add the required headers:
1Name: X-API-KEY2Value: sm_your_api_key_here34Name: Content-Type 5Value: application/jsonSet Request Body
Use Make's data mapping to construct the JSON body:
1{2 "mockup_uuid": "{{1.mockup_uuid}}",3 "smart_objects": [4 {5 "uuid": "{{1.smart_object_uuid}}",6 "asset": {7 "url": "{{1.design_url}}",8 "fit": "cover"9 }10 }11 ],12 "export_options": {13 "image_format": "webp",14 "image_size": 1920,15 "quality": 9516 }17}Advanced Features
Using Routers for Multiple Mockups
Use Make's router to generate different mockup types based on product category:
1// Router Setup:2// Route 1: T-Shirts → Use tshirt_mockup_uuid3// Route 2: Hoodies → Use hoodie_mockup_uuid 4// Route 3: Mugs → Use mug_mockup_uuid56// Filter condition example for Route 1:7{{1.product_type}} equals "t-shirt"Bulk Processing with Iterator
Process multiple designs from an array using Make's Iterator:
Process each design in the array, then aggregate results back together.
Error Handling
Add error handlers to manage failures gracefully:
- Right-click the HTTP module
- Select "Add error handler"
- Choose Resume to continue or Break to stop
- Add notification module (Slack, email) to alert on failures
1// Error handler response mapping2Error Type: {{error.type}}3Error Message: {{error.message}}4HTTP Status: {{error.response.statusCode}}56// Retry directive (for Break handler)7Max retries: 38Interval: 60 secondsParsing Response
Make automatically parses JSON responses. Access the mockup URL directly:
1// Access rendered mockup URL2{{2.data.print_files[].export_path}}34// Or use first item5{{2.data.print_files[1].export_path}}67// Check success status8{{2.success}}Data Store
Scheduling Scenarios
Run your mockup generation on a schedule:
- Immediately: Triggered by external events (webhooks)
- Interval: Every X minutes/hours
- Daily: At specific times
- Advanced: Custom cron expressions
Explore Other Integrations
Check out our guides for n8n and Zapier.