Actions26
Webhook → Create
AI-generatedSummary
Create a new webhook subscription for either Shopify or WooCommerce stores that triggers on specified events and sends data to a defined URL.
Inputs
- Platform (required) — Select the e-commerce platform: Shopify or WooCommerce.
- Store URL (required) — The URL of the store where the webhook will be created.
- API Key / Consumer Key (required) — API key or consumer key for authenticating with the store.
- API Secret / Consumer Secret — API secret or consumer secret (required only for WooCommerce).
- Topic (required) — For Shopify: select one of the predefined event topics that trigger the webhook (e.g., orders/create, customers/create). For WooCommerce: specify the topic string (e.g., order.created).
- Address (URL) / Delivery URL (required) — The URL where webhook notifications will be sent; named 'Address (URL)' for Shopify and 'Delivery URL' for WooCommerce.
- Format — For Shopify only: specify the payload format, either JSON or XML (default: JSON).
Output shape
a single record representing the created webhook subscription details
The returned data includes the webhook subscription created on the specified platform; fields and structure depend on the platform's API response.
Examples
Example 1: Create a Shopify webhook to trigger on new order creations and send JSON payloads to a specified URL.
Platform set to Shopify, Topic set to 'orders/create', Address set to target URL, optional format set to JSON.
Example 2: Create a WooCommerce webhook for order creation events to deliver payloads to a specified endpoint.
Platform set to WooCommerce, Topic set to the webhook topic string (e.g., 'order.created'), Delivery URL set to endpoint, API secret supplied.
