Automation library · AI assistants

Reprice FX-sensitive international packages with Claude

Started by a clock. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to Claude. 20 steps, 2 branches, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: Claude

20 stepsMedium: a working afternoon
2Branches: places the flow splits
1Loop or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 1Model 4Logic 10Service 5

The steps in the order they run, from what starts it.

  1. 1Schedule Trigger - Daily FX Repricing RunSchedule triggerStarts it
  2. 2Anthropic - Risk Reasoning ModelLm Chat AnthropicModel
  3. 3Anthropic - Synthesis ModelLm Chat AnthropicModel
  4. 4HTTP Request - Fetch Current FX RatesHttp RequestService
  5. 5AI - Generate FX Risk Reasoning For Flagged PackagesAgentModel
  6. 6AI - Generate Slack Repricing Summary & RecommendationAgentModel
  7. 7HTTP Request - Read Active International PackagesHttp RequestService
  8. 8JS - Parse Risk Reasoning OutputCodeLogic
  9. 9JS - Parse Synthesis Output & Format Log RowCodeLogic
  10. 10JS - Parse Sheet Rows & Attach FX RatesCodeLogic
  11. 11JS - Build Final Repricing ReportCodeLogic
  12. 12Save Repricing Run to Google Sheets LogHttp RequestService
  13. 13JS - Calculate Deterministic RepriceCodeLogic
  14. 14Wait - Before Synthesis AIWaitLogic
  15. 15Send Slack Repricing SummaryHttp RequestService
  16. 16JS - Aggregate Repricing ResultsCodeLogic
  17. 17IF - Urgent Review RequiredIfLogic
  18. 18IF - Any Packages Flagged For ReviewIfLogic
  19. 19Send Slack Urgent Review AlertHttp RequestService
  20. 20Code - Set Empty Risk ReasoningCodeLogic

How it's built

Starts on
A clock
Steps
20, with 2 branches, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Nothing by connector; it calls services over plain HTTP
Model
Claude

Questions

What does it need to run?

An n8n account, and a key for Claude. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls Claude. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 20 steps before you point it at anything that matters.