Action endpoints

Before your app can receive communication from marketing automation actions, you need to create one or more standardized API endpoints on your web server. Review the information for each endpoint to understand the requirements for each endpoint, the format of the payload sent to the endpoint, and the expected response. You'll also learn how to avoid processing duplicate requests, identify an action by its ID, and verify requests for security purposes.

Endpoint Purpose
Flow action execution The endpoint where the automation tool sends your action's payload. The payload contains data that you can use to execute the action in your app.
Marketing activity create This endpoint is called when a step in a workflow is created using the action. Shopify creates a marketing activity and sends the marketing_activity_id to you.
Marketing activity delete The endpoint that's called when a workflow associated with the marketing activity is deleted. This endpoint is called when a workflow associated with the marketing activity is deleted.