Skip to main content

๐Ÿ’ฐ Automate currency rates update in invoices with Google Sheet, ExchangeRate API

Workflow preview

Workflow preview
100%
๐Ÿ’ฐ Automate currency rates update in invoices with Google Sheet, ExchangeRate API preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Tags: Automation, Finance, Google Sheets, API Note: This workflow uses the Exchange rate API and requires a valid API key. Context Iโ€™m Samir Saci, a Supply Chain Data Scien...

Best for

  • Document Extraction automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.set, n8n-nodes-base.merge, n8n-nodes-base.httprequest, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote, n8n-nodes-base.code, n8n-nodes-base.scheduletrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Samir Saci.

Original n8n.io source

1.1 Workflow description

Title
๐Ÿ’ฐ Automate currency rates update in invoices with Google Sheet, ExchangeRate API
Workflow name
๐Ÿ’ฐ Automate currency rates update in invoices with Google Sheet, ExchangeRate API

Tags: Automation, Finance, Google Sheets, API

Note: This workflow uses the Exchange rate API and requires a valid API key.

Context

Iโ€™m Samir Saci, a Supply Chain Data Scientist who builds automations to streamline operations, reduce manual tasks, and boost decision-making through real-time data.

In this workflow, I automated the task of fetching live currency exchange rates, updating a Google Sheet with the latest values, and archiving historical records โ€” all without writing any code.

> Improve your productivity by automating admin tasks with n8n!

๐Ÿ“ฌ For business inquiries, you can add me on LinkedIn

Who is this template for?

This template is perfect for:

  • Finance teams tracking multi-currency cashflows
  • Analysts building dashboards or models requiring updated FX data
  • Anyone working with spreadsheets who needs up-to-date exchange rates

It updates:

  • A live sheet with the latest USD-based exchange rates
  • An archive tab to track historical changes over time

How does it work?

This workflow runs in N8N and performs the following steps:

  1. ๐ŸŒ Calls the ExchangeRate API to get the latest rates based on USD
  2. ๐Ÿง  Extracts and formats key fields: base currency, timestamp, and conversion values
  3. ๐Ÿ“Š Updates a main Google Sheet with the latest data (using upsert logic)
  4. ๐Ÿ—‚๏ธ Appends all rates to a second Google Sheet tab for historical tracking

You can schedule this workflow to run daily, hourly, or on-demand.

What do I need to start?

You donโ€™t need to write a single line of code.

Prerequisites:
  • A Google Sheet with two tabs: Rate Sheet and Archives (Link of the publicly available example in the template)
  • A valid Exchangerate API key
  • Google Sheets API connected via OAuth2

Next Steps

Use the sticky notes in the workflow to understand how to:

  • Add your Exchangerate API key
  • Map the fields to match your Google Sheet layout
  • Schedule the run frequency using the Cron node
  • Optionally add Slack or email alerts if the base rate changes

For more information, check my tutorial:

๐ŸŽฅ Watch My Tutorial

๐Ÿš€ Want to build finance automation workflows like this? ๐Ÿ“ฌ Letโ€™s connect on LinkedIn

Notes

  • You can adapt this template for other currencies by changing the API endpoint

This workflow was built using n8n 1.85.4 Submitted: April 15th, 2025

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Filter Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 2 - Final Outputs

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 3 - USD Query

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Update Rate Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 5 - Archive Rates

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 6 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Format Output to JSON

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Trigger - 08:00 am

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 10 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow ๐Ÿ’ฐ Automate currency rates update in invoices with Google Sheet, ExchangeRate API
Complexity intermediate
Nodes 10
Categories Document Extraction
Author Samir Saci
Published 15 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3556/3556.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does ๐Ÿ’ฐ Automate currency rates update in invoices with Google Sheet, ExchangeRate API do?

Tags: Automation, Finance, Google Sheets, API Note: This workflow uses the Exchange rate API and requires a valid API key. Context Iโ€™m Samir Saci, a Supply Chain Data Scien...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction use case.