Quick Overview
This workflow runs at multiple set times during market hours, fetches Murban crude futures prices from OilPrice.com, formats a forward-curve report in code, aggregates the output, and sends the resulting HTML-formatted alert to a Telegram chat.
How it works
- Runs on a schedule at specified weekdays and times to align with market hours.
- Fetches Murban crude futures data from OilPrice.com using an HTTP request.
- Formats the futures data into an HTML Telegram message that includes front-month stats, near-term contracts, forward curve shape, and the full curve.
- Aggregates the generated message payload into a single output.
- Sends the formatted crude price report to a specified Telegram chat.
Setup
- Add Telegram API credentials and set your target Telegram chat ID in the Telegram node.
- Review and adjust the schedule trigger times (days/hours/minutes) to match your market hours and timezone needs.
- Confirm the OilPrice.com URL is accessible from your n8n instance and update the HTTP request URL if your data source changes.
- Update the code step to parse live HTTP response data (it currently uses a hardcoded contracts array) and to remove/align any placeholder chat_id fields with your Telegram configuration.