Actions11
Overview
This node integrates with the AliExpress Affiliate API, allowing users to perform various affiliate-related operations such as retrieving featured promotional information, generating affiliate links, fetching product details, and accessing order data. Specifically, the "Get FeaturedPromo Info" operation fetches information about featured promotions available through the AliExpress affiliate program.
Common scenarios for this node include:
- Affiliate marketers wanting to retrieve current featured promotions to display or analyze.
- Automation workflows that update promotional content based on the latest featured deals.
- Integrations where promotional data from AliExpress is needed for marketing campaigns or reporting.
Example use case: Automatically fetching the latest featured promotion info daily to update a website's affiliate banner or newsletter content.
Properties
Name | Meaning |
---|---|
Tracking ID | Your tracking ID used for affiliate link tracking. Optional; if not provided, uses credential default. |
Note: For the "Get FeaturedPromo Info" operation, only the "Tracking ID" property is relevant and supported.
Output
The node outputs an array of JSON objects, each representing the response body returned by the AliExpress Affiliate API for the requested operation. For "Get FeaturedPromo Info," the output JSON contains detailed information about the featured promotions, such as promotion IDs, names, descriptions, start/end times, and other metadata as provided by the API.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for the AliExpress Affiliate API, including an API key, secret, and optionally a default tracking ID.
- The node uses the AliExpress SDK client internally to communicate with the API endpoint at
https://api-sg.aliexpress.com/sync
. - Proper configuration of the API credentials in n8n is necessary before using this node.
Troubleshooting
- Missing Credentials: If the node throws "No credentials returned!" or "Missing required credential fields," ensure that the AliExpress Affiliate API credentials are correctly set up in n8n with all required fields (API key and secret).
- Unexpected API Response Structure: This error indicates the API did not return the expected data format. Verify network connectivity and that the API service is operational.
- Error Executing Request: Could be due to invalid parameters, expired credentials, or API rate limits. Check the error message details and confirm parameter correctness.
- Tracking ID Issues: If tracking ID is missing or incorrect, affiliate tracking may fail. Provide a valid tracking ID either via input property or credentials.