Sapo Trigger icon

Sapo Trigger

Interact with Sapo

Sapo Trigger

AI-generated

Overview

The Sapo Trigger node listens for specific events from the Sapo platform via webhooks. It allows users to select multiple event types related to orders, products, customers, carts, refunds, collections, fulfillments, store updates, and app uninstallations. When any of the selected events occur, the node triggers the workflow and outputs the event data as JSON. This node is useful for automating workflows based on real-time changes in a Sapo store, such as order updates, product changes, or customer activities.

Use Case Examples

  1. Trigger a workflow when an order is updated to automatically notify the sales team.
  2. Start a process to update inventory when a product is created or updated.
  3. Send a follow-up email when a customer is created or enabled.

Properties

Name Meaning
Events The specific Sapo events to listen for via webhooks. Multiple events can be selected to trigger the workflow.

Output

JSON

  • body - The JSON payload received from the Sapo webhook event, containing event-specific data.

Dependencies

  • An API key credential for Sapo API authentication

Troubleshooting

  • Webhook creation may fail if the webhook URL is not accessible or if the API credentials are invalid. Ensure the node's webhook URL is publicly reachable and the API key is correct.
  • If events do not trigger the workflow, verify that the selected event names match those configured in the Sapo store and that the webhooks are properly registered.
  • Errors during webhook deletion or creation are logged; check logs for detailed error messages and ensure the API rate limits are not exceeded.

Links

Discussion