Use this robust n8n workflow to automatically fetch cryptocurrency prices via CoinGecko and update your Airtable portfolio ledger hourly. A crucial n8n template for finance tracking.
Download this n8n workflow template and start using it instantly.
Keeping a crypto portfolio ledger updated manually is time-consuming and prone to errors. This powerful n8n workflow template solves this by scheduling an hourly update cycle. It seamlessly integrates the CoinGecko API with Airtable, ensuring that the 'Present Price' for every asset in your portfolio is always current. Furthermore, the n8n template utilizes a custom calculation (via a Function n8n node) to sum up the total portfolio value, providing a real-time historical log of your wealth. This specific n8n workflow is essential for accurate, hands-off portfolio reporting, making it a highly valuable piece of automation.
The entire process is initiated by the 'Run Top of Hour' n8n trigger, which executes the n8n workflow every hour.
Symbol (CoinGecko ID) and the Airtable record ID for subsequent updates.Symbol to query the current USD price.Present Price) and the Airtable record ID (Id). This step ensures the necessary data points are ready for the update.Present Value (assuming this is a calculated field within Airtable: Holdings * Present Price) for every asset.To deploy this n8n workflow template, follow these steps:
application ID (appT7eX4iZcZVRIdq) and the table names ('Portfolio', 'Portfolio Value') within the Airtable n8n node configurations match your actual Airtable base and tables. If your base ID is different, update it in all five Airtable n8n nodes. Run Top of Hour (Cron Trigger)
Function: Serves as the primary n8n trigger, ensuring the automation runs reliably once every hour.
Key Configuration: Set to run using the everyHour mode.
Get Portfolio (Airtable Node)
Function: Retrieves the list of cryptocurrency symbols and record IDs from the 'Portfolio' table necessary for fetching current prices.
Key Configuration: Operation set to list; Fields explicitly set to fetch Symbol.
CoinGecko (CoinGecko Node)
Function: Fetches the real-time market data for the corresponding cryptocurrency symbol.
Key Configuration: coinId is dynamically pulled from the previous Airtable output using an expression: ={{$json["fields"]["Symbol"]}}.
Set (Set Node)
Function: Standardizes and maps the incoming data, extracting the USD price and the original Airtable ID for the update step.
Key Configuration: Sets Present Price using the expression ={{$json["marketdata"]["currentprice"]["usd"]}}.
Update Values (Airtable Node)
Function: Updates the 'Present Price' field in the 'Portfolio' table for each individual asset record using the record ID.
Key Configuration: Operation set to update; ID pulled dynamically.
Determine Total Value (Function Node)
Function: This custom code n8n node aggregates all the individual 'Present Value' items into a single total portfolio value.
Key Configuration: Contains JavaScript logic to loop through items and sum the values found in value.json.fields['Present Value'].
Append Portfolio Value (Airtable Node)
Function: Logs the final calculated total portfolio value into a separate historical tracking table.
* Key Configuration: Operation set to append; Fields updated include Portfolio Value (US$).
Use this powerful n8n workflow to automate weekly SEO performance monitoring, calculate Week-over-Week changes in GSC data, and generate Slack alerts for critical keyword movers. Leverage n8n templates for SEO success.

Automatically monitor changes across your n8n instance. This n8n workflow tracks added or removed n8n nodes and connections, logging detailed history to Google Sheets for auditing and compliance.

Use this robust n8n workflow to automatically monitor and extract new topics from the n8n Community based on specific keywords, saving all relevant data directly into a Google Sheet.

Use this n8n workflow to instantly process TradingView email signals, extract stock symbols using a custom n8n node, log data to Google Sheets, and send immediate Telegram alerts.

Automate Telegram voice message transcription using AssemblyAI and analyze the text with GPT-4 in this powerful n8n workflow. Get structured reports delivered via Gmail.









































