Templates / Log daily Interactive Brokers trades to a Google Sheets journal

Log daily Interactive Brokers trades to a Google Sheets journal

Ready for 3.0

by Wolfgang Renner ✓ · 427 views · created 2025-12-26 · Crypto Trading

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 9 nodes and runs on a schedule (cron 0 8 * * *). Along the way it connects Google Sheets. It also calls gdcdyn.interactivebrokers.com over HTTP.

How it runs

Trigger: On a schedule (cron 0 8 * * *).

  1. 1. Request Flex Report (HTTP Request): calls gdcdyn.interactivebrokers.com
  2. 2. Extract Reference Code (Code): runs custom JavaScript code
  3. Wait: waits 10 seconds
  4. 3. Download Report (HTTP Request): calls gdcdyn.interactivebrokers.com
  5. 4. Convert XML to JSON (XML): converts between XML and JSON
  6. 5. Split Trades (Split Out): splits a list into separate items
  7. 6. Format Trade Fields (Edit Fields (Set)): sets 11 fields: tradeDate, symbol, quantity…
  8. 7. Save to Google Sheet (Google Sheets): append or update

Services it uses

Google Sheets

HTTP calls to: gdcdyn.interactivebrokers.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

Automated Trade Report from Interactive Brokers This workflow is aimed at traders who use Interactive Brokers. It automatically retrieves the trades made in IBKR on a daily basis and writes them to a Google Sheet, so that anyone can easily perform further…

Excerpt from Wolfgang Renner's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.