Articles on: Orders & Export Methods

Sending Print Files to a Webhook for Automation

Chamevo can send print-ready files to a webhook URL for automation workflows. This allows you to automatically process and deliver print files to cloud storage, fulfillment services, or other systems using automation tools like Zapier.

How Webhook Integration Works


When an order is created, Chamevo sends a JSON payload to your webhook URL containing:


  • The print file URL
  • Order ID
  • Item ID


This enables automatic processing and routing of print files to any destination without manual intervention.


JSON Payload Format


The JSON object sent to your webhook looks like this:

json

{
"url": "the_url_of_print_file",
"order_id": 1,
"item_id": 1
}


Setting Up Webhook URL


Go to:


  1. Settings in Chamevo Dashboard
  2. Export tab
  3. Enter your webhook URL and save changes. Chamevo will now send print file data to this URL whenever an order is created.





Using Zapier for Automation


Zapier is a powerful automation platform that works well with webhooks.

Note: A paid Zapier plan is required to use webhooks.

For detailed information on using webhooks with Zapier, visit Zapier's webhook documentation.


Example: Uploading Print Files to Google Drive


Here's a step-by-step example of creating a Zap that receives print files and uploads them to Google Drive.


1. Add Webhook Trigger


In your Zap:



  1. Add Webhooks by Zapier as the trigger
  2. Select Catch Hook
  3. Copy the Webhook URL from the Test tab




2. Fetch Test Data


  • Create a test order in WooCommerce with a customized product
  • Zapier will receive the incoming data in the Test tab
  • Verify you see the JSON object with url, order_id, and item_id
  • Click Test trigger to confirm data is received correctly




3. Add Google Drive Action



  1. Add a new step to your Zap, search for and select Google Drive
  2. Choose Upload File as the action
  3. Connect your Google Drive account and authorize Zapier to access your Google Drive




4. Configure File Upload




  1. Folder: Select the Google Drive folder where files should be saved
  2. File: Select the URL property from the webhook data (this is the print file URL)
  3. Filename: Customize the filename using dynamic data:
  • Example: order_{order_id}_item_{item_id}.pdf
  • This creates filenames like: order_12345_item_1.pdf




5. Test and Enable


  • Click Test action to verify the file uploads correctly to Google Drive
  • Check your Google Drive folder to confirm the file appears
  • Once verified, turn on your Zap
  • All future orders will automatically upload to Google Drive



Summary


  • Webhook URL enables automatic print file delivery to external services
  • Set webhook URL in Settings → Export → Webhook URL
  • JSON payload includes print file URL, order ID, and item ID
  • Zapier provides powerful automation workflows (requires paid plan)
  • Common use cases: Google Drive, Dropbox, fulfillment services, custom processing
  • Test thoroughly before enabling for production orders

Updated on: 13/11/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!