Overview
This node triggers a workflow when new customers are detected in the Zid system. It periodically polls the Zid API for new customer data based on a configurable interval and limit, emitting each new customer as a separate event. This is useful for automating processes that need to respond to new customer registrations or updates in real-time or near real-time.
Use Case Examples
- Automatically send a welcome email to new customers as they register.
- Sync new customer data from Zid to a CRM system.
- Trigger notifications or analytics workflows when new customers are added.
Properties
| Name | Meaning |
|---|---|
| Polling Interval (minutes) | How often the node checks for new customers from Zid, specified in minutes. |
| Limit | Maximum number of customers to fetch per poll from Zid. |
Output
JSON
id- Unique identifier of the customer.created_at- Timestamp when the customer was created.error- Error message if fetching customers fails.timestamp- Timestamp when the error occurred.
Dependencies
- Requires OAuth2 API credentials for Zid to authenticate requests.
Troubleshooting
- Common issues include missing or invalid OAuth2 credentials, which will cause the node to throw an error indicating missing tokens.
- If the API request fails, the node emits an error object with a message and timestamp to help diagnose the problem.
- Ensure the polling interval is set within the allowed range (1 to 60 minutes) to avoid configuration errors.
Links
- Zid API Documentation - Customers - Official API documentation for fetching customer data from Zid.