Automate Crypto Portfolio Updates with CoinGecko & Airtable in n8n

Stop wasting time manually updating your crypto portfolio’s real-time values. This n8n workflow automatically fetches latest prices from CoinGecko and updates your Airtable portfolio, saving hours and reducing errors.
coinGecko
airtable
cron
+2
Workflow Identifier: 1414
NODES in Use: cron, airtable, coinGecko, set, function
Automate crypto updates with CoinGecko and n8n

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does

This workflow updates crypto prices from CoinGecko to your Airtable portfolio every hour.
It pulls coin symbols from Airtable, fetches current USD prices, updates each coin’s price, sums total portfolio value, and records this total in Airtable.
This stops manual price checks and ensures your portfolio data is fresh and accurate.


Who should use this workflow

This workflow is for people tracking crypto investments using Airtable tables.
It helps if you update prices often and want to save time and avoid errors.
It suits users with an Airtable portfolio table and a history table for total portfolio values.


Tools and services used

  • n8n platform: To create and run the workflow.
  • Airtable API: To read and write portfolio data.
  • CoinGecko API: To get real-time crypto prices without needing an API key.

How this workflow works: Inputs, Processing, and Outputs

Inputs

  • Cryptocurrency symbols listed in Airtable ‘Portfolio’ table.
  • API credentials for Airtable access.
  • Market price data for crypto symbols from CoinGecko.

Processing Steps

  • A Cron node triggers the workflow every hour.
  • A Get Portfolio Airtable node collects coin symbols.
  • A CoinGecko node fetches current USD prices for each symbol.
  • A Set node formats price and record ID for updates.
  • An Update Values Airtable node updates prices in Airtable.
  • A Get Portfolio Values Airtable node retrieves current ‘Present Value’ fields.
  • A Determine Total Value Function node sums all portfolio values.
  • An Append Portfolio Value Airtable node adds the total to a historical tracking table.

Outputs

  • Hourly updated coin prices in Airtable.
  • Total portfolio value saved over time in a separate Airtable table.
  • Reliable, up-to-date valuation data without manual updates.

Beginner step-by-step: How to use this workflow in n8n

Import and setup

  1. Download the workflow file from this page.
  2. Open n8n editor and choose “Import from File” to load the workflow.
  3. Add your Airtable API key in the credentials section.
  4. Set your Airtable application ID and table names if different from defaults.
  5. No API key is needed for the CoinGecko node.
  6. Check and update any specific field names if your Airtable differs.

Test and activate

  1. Run the workflow manually once to confirm price fetching and updates.
  2. Look at the execution logs to spot any errors like missing IDs.
  3. If all works, toggle the workflow ON to enable hourly auto updates.
  4. If self hosting n8n, ensure your instance has internet access to reach APIs.
    Learn more about self-host n8n

Customization ideas

  • Change the Cron node to run updates every 30 minutes or daily.
  • Add more data in the CoinGecko node, like 24h volume or change percentages.
  • Include filters after ‘Get Portfolio’ to update only coins above a value limit.
  • Save prices in different Airtable fields by changing the Set node.

Troubleshooting common problems

  • If the workflow shows “Invalid CoinGecko coin ID”, check that the Airtable symbols use CoinGecko IDs like “bitcoin” or “ethereum”.
  • If Airtable update fails with “Record not found”, confirm the Set node sends correct record IDs.
  • If total portfolio value is zero, verify that ‘Present Value’ fields in Airtable are filled and the names exactly match.

Pre-production checklist

  • Check Airtable API key has read/write permissions.
  • Make sure CoinGecko coin IDs in Airtable match API format.
  • Test workflow with few coins before full use.
  • Review outputs of Set node to confirm format.
  • Run full test and watch logs for errors.

Summary of results

✓ Stops manual price entry for crypto portfolios.
✓ Keeps portfolio prices updated hourly.
✓ Shows total portfolio worth automatically.
✓ Saves the total value over time for tracking.


Automate crypto updates with CoinGecko and n8n

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The user must add Airtable API credentials, update IDs or table names if needed, test the workflow once, then activate it for hourly updates.
This happens if the cryptocurrency symbols in Airtable do not use valid CoinGecko coin IDs like ‘bitcoin’. Using common ticker symbols like ‘BTC’ without mapping causes this error.
Yes, by changing the Cron node frequency, the workflow can run every 30 minutes, daily, or other intervals.
No, the CoinGecko node uses a public API and does not need any API key.
Author
Written By
Ritu Sanjali

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.