Actions14
- Barcode Actions
- CNPJ Lookup Actions
- Currency Actions
- Email Validator Actions
- FIPE Actions
- Holiday Actions
- IP Lookup Actions
- Number to Word Actions
- QR Code Actions
- Validator Actions
- ZIP Code Actions
Overview
This node interacts with the Invertexto API to perform various data transformation and lookup operations. Specifically, for the Currency - Convert operation, it converts an amount from one currency to another based on a specified currency pair.
Typical use cases include:
- Automatically converting prices or financial data between currencies in workflows.
- Integrating currency conversion into e-commerce or financial automation processes.
- Fetching up-to-date exchange rates for reporting or analytics.
For example, you can convert USD to BRL by specifying the currency pair "USD_BRL" to get the current exchange rate or converted value.
Properties
| Name | Meaning |
|---|---|
| Currency Pair | The currency pair to convert between, formatted as FROM_TO (e.g., USD_BRL). Required. |
Output
The node outputs JSON data containing the conversion result returned by the Invertexto API. The exact structure depends on the API response but typically includes fields such as the converted amount and exchange rate.
No binary data output is produced by this operation.
Dependencies
- Requires an active API key credential for the Invertexto API.
- The node makes HTTP GET requests to
https://api.invertexto.com/v1/currency/{currencyPair}where{currencyPair}is the user-specified currency pair. - Ensure the API key is configured correctly in n8n credentials for successful authentication.
Troubleshooting
- Invalid Currency Pair Format: If the currency pair is not in the correct
FROM_TOformat (e.g., missing underscore or invalid currency codes), the API may return an error. Verify the input format matches expected patterns likeUSD_BRL. - API Authentication Errors: Missing or incorrect API key will cause authorization failures. Confirm that the API key credential is set and valid.
- Network Issues: Connectivity problems can prevent reaching the API endpoint. Check network access and proxy settings if applicable.
- Unexpected API Response: If the API changes or returns unexpected data, the node might fail to parse results. Review API documentation or contact support if issues persist.
Links and References
- Invertexto API Documentation (for detailed API usage and currency conversion specifics)
- n8n Documentation (for general node usage and credential setup)