Use Cases & Integration Ideas
UseStencil webhooks allow you to automate downstream workflows the moment a new image is generated. Whether you're using third-party tools or building internal systems, webhooks help eliminate manual steps, trigger following actions, and keep systems in sync.
Auto-upload to Cloud Storage
Use Case: Automatically push the generated image to another cloud storage bucket (e.g. S3, GCS, Azure Blob).
How:
Use an AWS Lambda or a GCP Cloud Function to receive the webhook.
Fetch the image_url from the payload and upload it to your destination bucket.
Use user_defined to route by environment or team.
Send Notifications via Slack, Discord or Email
Use Case: Notify your team or clients when a new asset is ready.
How:
Use Zapier, Make (Integromat), or n8n to receive the webhook.
Format a message including image_url and modifications.
Post to a Slack or Discord channel, or email a recipient list.
Sync Image to Product CMS or Storefront
Use Case: When an image is created for a product campaign, push it directly to your CMS (e.g. Contentful, Sanity) or eCommerce system (e.g. Shopify, WooCommerce).
How:
Use the
project_id
or auser_defined.product_id
to identify the target.Update or create a record with the image URLs.
Optionally trigger cache invalidation or a publish workflow.
Enrich Metadata or Log to Internal Analytics
Use Case: Track when and how assets are used, by whom, or for what campaign.
How:
Log the payload into your internal analytics or data warehouse (e.g. via Kafka, Segment, or BigQuery).
Parse modifications to understand template usage patterns.
Store
user_defined
keys for later audit or reporting.
Trigger AI Post-processing or Optimisation
Use Case: Automatically feed new images into a compression engine, thumbnail generator, or an AI pipeline (e.g., background removal, social resizer, object detection).
How:
Receive the webhook, and download the image via image_url.
Pass it to a processing tool like TinyPNG API, Remove.bg, or your model.
Store processed images separately or update the same resource.
Automatically Generate PDFs or Marketing Collateral
Use Case: Combine the image into a PDF, sales sheet, or multi-page collateral automatically.
How:
Use the image_url as an asset source.
Feed it into a PDF generation tool (e.g. Puppeteer, PDFKit, or CloudConvert).
Save and distribute the document or attach it to a CRM record.
Chain Other Internal Workflows
Use Case: Kick off internal approval, ticket creation, or downstream service calls.
How:
Trigger a Jira or Trello card via webhook.
Open a support ticket via Intercom or Zendesk APIs.
Trigger another system's API with enriched image metadata.
Tip: Leverageuser_defined
for Routing LogicAdd static or dynamic fields to the webhook config so your receiver knows:
Which app/team/org triggered the event
What action should follow ("action": "send-to-salesforce")
What template or purpose it was for ("label": "product-campaign", "env": "staging")
Last updated
Was this helpful?