Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Mercaline2024/Ecomdrop-ia-connector-2/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Order Processing feature automatically handles orders and abandoned carts through Ecomdrop flow automation. When orders are created in Shopify, the app triggers configured Ecomdrop flows and updates order tags based on processing status.How It Works
Order Creation
When a customer completes a purchase in your Shopify store, Shopify fires an
ORDERS_CREATE webhook.Webhook Reception
The Ecomdrop IA Connector receives the webhook and extracts order data including:
- Order ID, name, and number
- Line items with products and variants
- Customer information
- Shipping and billing addresses
- Financial and fulfillment status
Flow Trigger
The app triggers your configured Ecomdrop βNuevo Pedidoβ (New Order) flow with the complete order data.
Async Processing
Ecomdrop processes the order asynchronously. When complete, it calls back to the app to update order status.
Order Webhooks
New Order Webhook
TheORDERS_CREATE webhook triggers when:
- A customer completes checkout
- Payment is confirmed
- The order is created in Shopify
- Order Details
- Line Items
- Customer Info
- Shipping Address
Abandoned Cart Handling
Draft Order Webhook
TheDRAFT_ORDERS_CREATE webhook triggers when:
- A customer abandons their cart
- A draft order is manually created
- Checkout is initiated but not completed
Configure the βCarrito Abandonadoβ (Abandoned Cart) Flow ID in your settings to enable this feature.
- Draft order ID and name
- Line items from the abandoned cart
- Customer email and contact information
- Partial address information (if provided)
- Total cart value
Ecomdrop Flow Integration
Triggering Flows
The app uses the Ecomdrop API to trigger automation flows:Callback Mechanism
Ecomdrop can notify the app when processing completes:Order Tag Management
Automatic Tags
The app assigns tags based on processing status:| Tag | When Applied | Meaning |
|---|---|---|
ecomdrop-processed | Callback with status βsuccessβ or βcompletedβ | Order successfully processed by Ecomdrop |
ecomdrop-pending | Callback with status βpendingβ | Processing in progress |
ecomdrop-error | Callback with status βerrorβ or βfailedβ, or immediate failure | Processing failed |
ecomdrop-completed | Callback with status βcompletedβ | Fulfillment completed |
Custom Tags
Ecomdrop can send custom tags in the callback:Order Data Structure
GraphQL vs REST Compatibility
The app handles both GraphQL and REST webhook formats:GraphQL Format (Default)
GraphQL Format (Default)
Modern Shopify webhooks use GraphQL format:
REST Format (Legacy)
REST Format (Legacy)
The app also supports legacy REST webhooks:
Configuration Requirements
To configure:- Navigate to Configuration in the app
- Add your Ecomdrop API Key
- Set the Nuevo Pedido Flow ID for order processing
- Set the Carrito Abandonado Flow ID for abandoned cart recovery
- Click Save
Callback Authentication
The callback endpoint uses API key authentication:Monitoring and Debugging
Server Logs
The app logs detailed information for debugging:Callback Logs
Troubleshooting
Webhooks not triggering flows
Webhooks not triggering flows
- Verify Ecomdrop API Key is configured in Settings
- Check that Flow IDs are correct
- Review server logs for webhook reception
- Ensure the app is installed and active
Tags not being added to orders
Tags not being added to orders
Order not found by name
Order not found by name
- Ensure order name format matches (e.g., β#1001β)
- Check that the order exists in Shopify
- Verify app has read access to orders
- For new apps, ensure protected data access is approved
Callback authentication fails
Callback authentication fails
- Verify the API key in the callback payload is correct
- Ensure the API key matches whatβs stored in the app
- Check that the shop domain is correct
Best Practices
Test Webhooks
Use Shopifyβs webhook testing tools to verify your configuration before processing real orders.
Monitor Tags
Regularly review order tags to ensure flows are processing correctly.
Handle Errors
Set up alerts for orders with
ecomdrop-error tags to quickly resolve issues.Async Processing
Remember that flow processing is asynchronous - tags appear after Ecomdrop completes processing.
Related Features
- Product Management - Link products to enable order processing
- Configuration - Configure Ecomdrop API and Flow IDs