Real-time Currency Converter via Webhook
detail.loadingPreview
This n8n workflow provides a secure and efficient way to perform real-time currency conversions via a simple webhook. It allows any external application to request currency exchange rates by sending a POST request and instantly receive the converted amount.
About This Workflow
Unlock the power of instant currency conversion with this robust n8n workflow. Designed for developers and businesses alike, it leverages a webhook trigger to accept conversion requests from any application. Upon receiving a request with 'from' currency, 'to' currency, and an 'amount', the workflow securely connects to the ExchangeRate.host API. It dynamically fetches the latest exchange rates and returns the converted value in real-time. Crucially, your ExchangeRate.host API key is managed securely within n8n's credential system, ensuring your sensitive information is never exposed in webhook requests or the workflow itself.
Key Features
- Webhook-Triggered Conversion: Easily integrate currency conversion into any external application by sending a simple POST request.
- Dynamic Input Handling: Supports flexible conversion requests for any source currency, target currency, and amount.
- Secure API Key Management: Utilizes n8n's credential system to securely store and inject your ExchangeRate.host API key, protecting sensitive data.
- Real-time Exchange Rates: Integrates with ExchangeRate.host to provide up-to-the-minute currency conversion accuracy.
- Instant API Response: Delivers conversion results immediately back to the calling application for seamless user experiences.
How To Use
- Configure the Webhook: The
Receive Conversion Request Webhooknode is pre-configured with the pathconvert-currency. You can customize this path if needed. - Set Up ExchangeRate.host Credentials:
- Create a new credential in n8n of type
HTTP Query Auth. - Name it
ExchangeRate(or match the name in theConvert Currencynode's credentials). - Set the
Query Parameter Nametoaccess_key. - Enter your personal ExchangeRate.host API key into the
Query Parameter Valuefield.
- Create a new credential in n8n of type
- Activate the Workflow: Set the workflow to "Active" in n8n.
- Send Conversion Requests: Send a POST request to your n8n webhook URL (e.g.,
YOUR_N8N_URL/webhook/convert-currency) with a JSON body containingfrom,to, andamount(e.g.,{"from": "USD", "to": "EUR", "amount": 100}). - Receive Instant Results: The webhook will respond with the converted currency data.
Apps Used
Workflow JSON
{
"id": "9f7f0f0c-f21f-4a94-89ad-2bc6afce7997",
"name": "Real-time Currency Converter via Webhook",
"nodes": 18,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 9f7f0f0c-f21f...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Related Workflows
Discover more workflows you might like
Dynamic Bible Scripture Retrieval Workflow
This n8n workflow provides a robust solution for dynamically querying and retrieving Bible scriptures from the getBible.net API. It takes structured JSON input for references, translation, and version, returning the corresponding passages in a standardized API response format.
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Google Sheets to Icypeas: Automated Bulk Domain Scanning
This workflow streamlines the process of performing bulk domain scans by integrating your Google Sheets data directly with the Icypeas platform. Automate the submission of company names from your spreadsheet to Icypeas for comprehensive domain information, saving valuable time and effort.