Shopify Integration
HookFlow provides seamless integration with Shopify webhooks to help you reliably process store events. This guide will walk you through setting up and configuring Shopify webhooks with HookFlow.
Setting Up Shopify Webhooks
Follow these steps to configure your Shopify webhooks:
1. Get Your HookFlow Endpoint
First, copy your unique HookFlow endpoint URL from your dashboard. This is where Shopify will send webhook events.
2. Configure Webhook in Shopify
- Go to your Shopify admin panel
- Navigate to Settings > Notifications
- Scroll down to "Webhooks"
- Click "Create webhook"
- Select the event type
- Enter your HookFlow endpoint URL
- Choose the webhook version (2023-07 recommended)
- Save the webhook
3. Add Shopify Secret
After creating the webhook, Shopify will provide a webhook secret. Add this to your HookFlow dashboard under the Shopify integration settings to verify webhook authenticity.
Supported Events
HookFlow supports all Shopify webhook events. Some commonly used events include:
- orders/create
- orders/paid
- orders/fulfilled
- products/create
- products/update
- customers/create
- refunds/create
Event Format
Shopify webhook events follow a consistent format. Here's an example of an orders/create event:
{
"id": 123456789,
"email": "customer@example.com",
"created_at": "2023-01-01T00:00:00Z",
"total_price": "99.99",
"currency": "USD",
"financial_status": "paid",
"customer": {
"id": 987654321,
"email": "customer@example.com",
"first_name": "John",
"last_name": "Doe"
},
"line_items": [
{
"id": 456789123,
"product_id": 789123456,
"title": "Product Name",
"quantity": 1,
"price": "99.99"
}
]
}
Best Practices
Follow these best practices when working with Shopify webhooks:
- Always verify webhook signatures using the Shopify secret
- Set up appropriate retry rules for failed webhook deliveries
- Monitor webhook activity in your HookFlow dashboard
- Use the latest webhook API version
Next Steps
Now that you've set up Shopify webhooks, explore these related topics:
- Filtering Webhooks - Control which Shopify events are forwarded
- Transforming Webhooks - Modify Shopify payloads before delivery
- Retry Configuration - Set up reliable delivery with retries