Overview
The Numi NumiQuotes node allows you to interact with the Numi service to retrieve various types of financial quotes, such as exchange rates and operation quotes. This node is useful in workflows where you need to fetch up-to-date currency exchange rates or obtain pre-quote/operation quote information for financial transactions. For example, you might use this node to:
- Automatically fetch current exchange rates before processing international payments.
- Retrieve a pre-quote for a transaction to display estimated costs to users.
- Obtain an operation quote for record-keeping or further processing.
Properties
| Name | Meaning |
|---|---|
| Operation | Selects the type of quote to retrieve: - Get ExchangeRates - Get PreQuote - Get OperationQuote |
Output
- The output is a JSON object.
- When the Operation is "Get ExchangeRates", the output will include an
ExchangeRatefield containing the exchange rate data retrieved from the Numi service. - For other operations ("Get PreQuote" and "Get OperationQuote"), no additional fields are added to the output in the provided code.
Example output (for "Get ExchangeRates"):
{
"ExchangeRate": { /* exchange rate data from Numi service */ }
}
Dependencies
- External Service: Requires access to the Numi partner services API.
- Credentials: Needs a configured credential named
numiKeyApiin n8n for authentication.
Troubleshooting
- Missing Credentials: If the required
numiKeyApicredential is not set up, the node will fail to execute. Ensure that valid credentials are configured in n8n. - Unsupported Operations: Only the "Get ExchangeRates" operation is implemented in the provided code. Selecting "Get PreQuote" or "Get OperationQuote" will not return any additional data.
- API Errors: If there are issues connecting to the Numi service (e.g., network errors, invalid credentials), the node may throw errors indicating failure to fetch data.
Links and References
- n8n Documentation: Credentials
- n8n Documentation: Creating Custom Nodes
- Numi service documentation (refer to your provider for API details)