๐Ÿ“ˆ Post FX rate change commentary to Slack with Frankfurter and Claude

โšก 6 views ยท ๐Ÿ“ˆ Crypto Trading & Stock Market

Description

Quick overview

On a schedule, this workflow checks an exchange rate via the free Frankfurter API, compares it to the last checked rate, and โ€” if it moved beyond a threshold you set โ€” asks Claude to write a short factual note and posts it to Slack.

How it works

  1. On a schedule, fetches the current rate for a currency pair you configure from the free Frankfurter API (ECB reference rates, no API key required).
  2. Compares it to the last checked rate (remembered via workflow static data) and computes the percent change.
  3. If the move crosses your configured threshold (or this is the first check), asks Claude to write a short, factual note about the change โ€” explicitly instructed to avoid predictions or investment advice.
  4. Posts the commentary to Slack via an Incoming Webhook, verifying delivery by checking the actual response body rather than assuming success.

Setup

  1. Add an Anthropic API key as a credential in n8n and assign it in the โ€œCall Claude (Anthropic) APIโ€ node.
  2. Open the โ€œSet: configโ€ node and set your currency pair (baseCurrency / targetCurrency), your move threshold in percent, and your Slack Incoming Webhook URL.
  3. Adjust the Schedule Trigger to whatever check frequency you want (defaults to every 6 hours), then activate the workflow.

Requirements

Customization

๐Ÿ”— Nodes Used

HTTP Request, Schedule Trigger

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup