Set up internal or staff notifications for route and stop updates using Flow or Zapier
To keep your staff informed about delivery status updates, you can utilize EasyRoutes’ integration with Shopify’s FulfillmentEvent and our own webhooks API. These tools enable automated internal notifications, such as emails or Slack updates, to streamline your workflow.
Below are two methods to set this up:
Option 1: Use Shopify Flow (EasyRoutes for Shopify only)
To explain further, we do integrate with Shopify directly with fulfillments, so it may be possible to be notified for when specific orders are fulfilled using Shopify itself using Shopify Flow.
Sample Workflow
Here's a sample workflow where you can send yourself an internal email whenever there's a Fulfillment Event for "Delivered" to alert your staff member:
Option 2: Use Zapier and EasyRoutes Webhooks
Alternatively, you can set up automated notifications using Zapier in combination with EasyRoutes’ webhooks. This approach allows you to create custom workflows that trigger notifications to your staff members when specific events occur in EasyRoutes, such as a driver marking a stop as delivered.
Here’s how you can set this up:
1. Create a Zap in Zapier:
- Log in to your Zapier account and click on “Create Zap.”
- For the trigger, select “Webhooks by Zapier” and choose the “Catch Hook” event. This will generate a unique webhook URL for you.
2. Register the Webhook in EasyRoutes:
- In a new tab, open EasyRoutes and navigate to Settings > API Settings.
- Click on “Register webhook” and paste the webhook URL provided by Zapier into the URL field.
- Select the STOP_STATUS_UPDATED event from the list of topics. This event triggers whenever a stop’s status is updated, such as when it’s marked as delivered.
3. Configure the Action in Zapier:
- After setting up the trigger, define the action you want Zapier to perform when the webhook is received. For instance, you can choose to send an email notification whenever STOP_STATUS_UPDATED is sent or you may apply more conditions related to the email action.
- Select the “Email by Zapier” app (or another email service you use).
- Customize the email to include relevant details from the webhook payload (e.g. such as route information, as the stop ID, order number, delivery status, and any notes from the driver, etc.)
Note: This webhook event triggers whenever an individual route stop status has changed. Individual stops are triggered as their status is updated during delivery (i.e. out for delivery, attempted, delivered, etc). Break stops will also trigger this event when completed.
The entire
Route
is returned in the payload for convenience while theobjectId
field andX-EasyRoutes-Object-Id
header indicate which stop was updated. This will trigger for all stops when the route is marked as ready.
4. Test and Activate the Zap:
- Once configured, test the Zap to ensure it’s working correctly. You can do this by updating a stop in EasyRoutes and verifying that the notification is sent as expected.
- After successful testing, activate the Zap to enable the automated workflow.
By implementing this setup, your staff will receive real-time notifications via email (or other communication channels supported by Zapier) whenever a stop is updated in EasyRoutes. This ensures that your team stays informed about delivery statuses without manual monitoring.