Actions39
- Contact Actions
- Transaction Actions
- Subscription Actions
- Affiliation Actions
- Checkout Actions
- Country Actions
- Coupon Actions
- Product Actions
- User Actions
- Webhook Actions
Overview
This node integrates with the Guru Digital Manager API to perform various operations on multiple resources such as contacts, transactions, subscriptions, affiliations, checkouts, countries, coupons, products, users, and webhooks. Specifically for the Country - Get operation, it retrieves detailed information about a specific country by its ID.
Typical use cases include:
- Fetching country details for validation or display in workflows.
- Integrating country data retrieval into automated processes that depend on geographic information.
- Enriching customer or transaction data with country-specific metadata.
Example: You have a workflow that processes orders and needs to fetch country details based on a country ID stored in the order data. This node can retrieve the country information dynamically during the workflow execution.
Properties
| Name | Meaning |
|---|---|
| Country ID | The ID of the country to retrieve. This is a required string input. |
Output
The node outputs JSON data representing the country details retrieved from the Guru Digital Manager API. The structure depends on the API response but typically includes fields such as country name, code, and other metadata related to the country.
If multiple items are returned (not applicable for "get" but for "getAll"), the output is an array of country objects.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for Guru Digital Manager API authentication.
- The base URL for the API defaults to
https://digitalmanager.guru/api/v2but can be configured via credentials. - The node uses HTTP requests with Bearer token authorization to communicate with the API.
Troubleshooting
- Missing Credentials Error: If the API credentials are not set or invalid, the node will throw an error indicating credentials are required. Ensure you configure a valid API authentication token.
- Invalid Country ID: If the provided country ID does not exist or is incorrect, the API may return a 404 error. Verify the country ID before running the node.
- API Endpoint Issues: Network issues or incorrect base URL configuration can cause request failures. Confirm the base URL and network connectivity.
- Unexpected API Response: If the API changes or returns unexpected data, the node might fail or produce errors. Check the API documentation and update credentials or parameters accordingly.
Links and References
- Guru Digital Manager API Documentation: https://docs.digitalmanager.guru/developers/countries
- n8n HTTP Request Node Documentation: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/
