>_
SudoMock

Zapier Integration

Connect SudoMock to 5,000+ apps with Zapier. No code required—just clicks.

5,000+ App Integrations

Connect Shopify, WooCommerce, Etsy, Google Sheets, Airtable, and thousands more

Setting Up Zapier

Use Zapier's Webhooks by Zapier action to call SudoMock API. Here's how:

1

Create a New Zap

Go to zapier.com and click "Create Zap". Choose your trigger app (e.g., Shopify, Google Sheets).

2

Add Webhooks Action

Search for "Webhooks by Zapier" as your action and select "Custom Request".

3

Configure the Request

Set up the webhook with these settings:

  • Method: POST
  • URL: https://api.sudomock.com/api/v1/renders
  • Data Pass-Through: No
  • Unflatten: Yes
4

Add Headers

Add these headers:

Required Headers
1
X-API-KEY: sm_your_api_key_here
2
Content-Type: application/json
5

Set Request Body

Use Zapier's field mapping to create the JSON body:

Zapier Request Body
1
{
2
"mockup_uuid": "your-mockup-uuid",
3
"smart_objects": [
4
{
5
"uuid": "your-smart-object-uuid",
6
"asset": {
7
"url": "{{design_url_from_trigger}}",
8
"fit": "cover"
9
}
10
}
11
],
12
"export_options": {
13
"image_format": "webp",
14
"image_size": 1920,
15
"quality": 95
16
}
17
}

Dynamic Fields

Replace {{design_url_from_trigger}} with Zapier's field picker to map the design URL from your trigger.

Popular Zaps

Shopify Order → Mockup

Trigger: New Shopify OrderAction: SudoMock Render

When a new order comes in, automatically generate product mockups for the purchased items.

Google Sheets Row → Mockup

Trigger: New Spreadsheet RowAction: SudoMock RenderUpdate Sheet

Add design URLs to a spreadsheet, get rendered mockup URLs back in the same row.

Airtable Record → Mockup

Trigger: New Airtable RecordAction: SudoMock RenderUpdate Record

Perfect for design management workflows. Add a design, get mockups automatically.

Parsing the Response

SudoMock returns the rendered mockup URL in the response. Here's how to extract it in Zapier:

  1. Add a Formatter by Zapier action after the webhook
  2. Choose Utilities → Line-item to Text
  3. Or use Code by Zapier for more control:
Extract Mockup URL
1
// Code by Zapier (JavaScript)
2
const response = JSON.parse(inputData.webhookResponse);
3
return {
4
mockup_url: response.data.print_files[0].export_path
5
};

Multi-Step Zaps

Combine SudoMock with other actions for powerful workflows:

Multi-Step Workflow Example
1
// Example: Order Processing Workflow
2
1. Trigger: New Shopify Order
3
2. Filter: Order contains custom design
4
3. Action: Download design from order
5
4. Action: Upload to cloud storage (S3/Cloudinary)
6
5. Action: SudoMock Render
7
6. Action: Send mockup to customer via email
8
7. Action: Update order notes with mockup URL

Zapier Limits

Free Zapier accounts have limited tasks per month. Consider upgrading for high-volume mockup generation, or use n8n for unlimited self-hosted automation.

Prefer More Control?

n8n offers self-hosting, unlimited executions, and more advanced features.