Back to all templates

Python - CCY Compare

Call for an action if currency rate between two currencies goes up.

Description:

When currency rate between EUR and USD changes, action is invoked. Python Script is used to process data and apply arithmetic operations.

Key Features:
  • Manual Trigger
  • Http Client Component
  • Script Component - Python
  • Results logged with Logger
  • Condition-based logging
Prerequisites:
  • URL to REST endpoint for reading CCY
Ideal For:

Monithoring financial attributes and taking action on given expected results

STEPS
  1. Trigger: user invokes trigger manualy.
  2. Get current CCY rate EUR/USD from and REST endpoint.
  3. Get history value for same CCY EUR/USD rate from and REST endpoint.
  4. Process inputs in Python Script and expose to workflow
  5. Condition: if difference between today value and history value larger than 0 call for an action
COMPONENTS
Manual
Http Client
Script
CATEGORYFinance

How ByteChef works?

Focus on what matters,automate the rest.

ByteChef logo
Copyright © 2026 ByteChefAll rights reserved
Subscribe to our newsletter