Skip to main content

AI-powered financial chart analyzer | OpenRouter, MarketStack, macOS Shortcuts

Workflow preview

Workflow preview
100%
AI-powered financial chart analyzer | OpenRouter, MarketStack, macOS Shortcuts preview
Open on n8n.io

Important notice

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

1. Workflow Overview

The AI Powered Financial Chart Analyzer is a cutting edge automation tool that streamlines financial analysis using n8n workflows, AI agents, and MacOS Shortcuts . It enables users to capture, proc...

Best for

  • Crypto Trading automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.respondtowebhook, n8n-nodes-base.set, n8n-nodes-base.converttofile, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenrouter, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.toolcalculator

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
AI-powered financial chart analyzer | OpenRouter, MarketStack, macOS Shortcuts
Workflow name
AI-powered financial chart analyzer | OpenRouter, MarketStack, macOS Shortcuts

The AI-Powered Financial Chart Analyzer is a cutting-edge automation tool that streamlines financial analysis using n8n workflows, AI agents, and MacOS Shortcuts. It enables users to capture, process, and analyze candlestick charts for both stocks and cryptocurrencies. By integrating powerful tools like ChatGPT-4o-mini (via OpenRouter), MarketStack, and SerpAPI, this automation provides real-time market insights, technical analysis, and AI-driven stock trend predictions.

Workflow

  1. The Webhook node will receive image data from a macOS shortcut in Base64 format.
  2. The Convert to File node will convert the Base64 image into a binary file.
  3. The AI Agent node will process the binary image. It utilizes OpenRouter, Windows buffer memory, MarketStack, and the SerpAPI tool.
  4. Remember to use a model capable of processing images; otherwise, the workflow will throw an error.
  5. We use the MarketStack tool to fetch the latest stock data; however, it is rarely used.
  6. SerpAPI is used for market research, such as news and insights about stocks.
  7. Finally, the Markdown node converts Markdown to HTML.
  8. The response is then sent to the Webhook.

Use Case

Traders & Investors: Quickly analyze candlestick charts and identify trading opportunities.

Financial Analysts: Automate chart interpretation and data aggregation for in-depth reports.

AI & Automation Enthusiasts: Experiment with AI-driven financial workflows using n8n.

Business Owners: Gain real-time stock insights to make informed investment decisions.

Setup Instructions

Install MacOS Shortcut

  • Download the MacOS Shortcut provided with this product and double-click on it to install.
  • If you don’t have the Shortcuts app (parent app) installed, first download it from the App Store, then follow Step 1.

Set Up Workflow

  • Import the n8n workflow provided with this product.

Set Up Credentials

🔹Webhook Authentication

  • Create an API key (you can use a key generation tool or simply use a custom string).
  • Add the API key to your n8n Webhook and MacOS Shortcut.
  • If you prefer not to use authentication, remove it from both the n8n Webhook and the MacOS Shortcut.

🔹OpenRouter API Setup

  • Get a free API key from OpenRouter and add it to your workflow.
  • Free API keys have usage limits.
  • OpenRouter provides multiple models—ensure that the selected model supports image processing.

🔹MarketStack API Setup

  • Get a free API key from MarketStack and use it in your workflow.
  • Free API keys have usage limits.

🔹SerpAPI Setup

  • Get a free API key from SerpAPI and use it in your workflow.
  • Free API keys have usage limits.

Disclaimer

This tool is designed for educational and informational purposes only. The AI-generated insights should not be considered as financial advice. Users should conduct their own research before making investment decisions. AgentsOps is not responsible for any financial losses incurred from using this automation.

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 - Webhook

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

Block 2 - Respond to Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 3 - Fields_Data

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

Block 4 - Base64_To_Binary_Image

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 5 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 6 - OpenRouter Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 7 - Window Buffer Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 8 - Calculator

Type / Role
@n8n/n8n-nodes-langchain.toolCalculator - toolCalculator
Config choices
Version 1

Block 9 - Marketstack

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

Block 10 - SerpAPI

Type / Role
@n8n/n8n-nodes-langchain.toolSerpApi - toolSerpApi
Config choices
Version 1

Block 11 - Markdown

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

Block 12 - Sticky Note

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

3. Summary Table

Workflow AI-powered financial chart analyzer | OpenRouter, MarketStack, macOS Shortcuts
Complexity intermediate
Nodes 12
Categories Crypto Trading, Multimodal AI
Author Udit Rawat
Published 22 Feb 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2970/2970.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 AI-powered financial chart analyzer | OpenRouter, MarketStack, macOS Shortcuts do?

The AI Powered Financial Chart Analyzer is a cutting edge automation tool that streamlines financial analysis using n8n workflows, AI agents, and MacOS Shortcuts . It enables users to capture, proc...

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 Crypto Trading, Multimodal AI use case.