Templates / Extend n8n with additional tools

Extend n8n with additional tools

Needs changes

by Eduard ✓ · 5,946 views · created 2022-04-22 · Personal Productivity

Needs changes. This template uses 3 thing(s) that n8n 3.0 removes: Function (legacy), Write Binary File, Read Binary File. 3 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 21 nodes and runs on Telegram events (message). Along the way it connects Telegram.

How it runs

Trigger: On Telegram events (message).

  1. Switch: routes items into 2 branches
  2. Merge: merges the data from its input branches
  3. msg_pleasewait (Telegram): uses Telegram
  4. Merge: merges the data from its input branches
  5. Merge: merges the data from its input branches
  6. msg_greet (Telegram): uses Telegram
  7. Filename (Edit Fields (Set)): sets or maps fields
  8. msg_wrongcommand (Telegram): uses Telegram
  9. City List (Function): runs custom JavaScript (legacy Function node)
  10. Get weather data (HTTP Request): calls an HTTP API

…plus 10 more steps. See the full node list below.

Services it uses

Telegram

Before you upgrade to n8n 3.0

3 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • Function (legacy) in City List, Convert API response: replace with Code node, mode 'Run Once for All Items'.
  • Write Binary File in Write csv: replace with Read/Write Files from Disk.
  • Read Binary File: replace with Read/Write Files from Disk.
  • Also check Spreadsheet File: Convert to File / Extract from File.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
Function (legacy)
City List, Convert API response
Code node, mode 'Run Once for All Items'
Write Binary File
Write csv
Read/Write Files from Disk
Read Binary File
Read Binary File
Read/Write Files from Disk

Nodes used (12)

From the author

This workflow extends n8n and uses R language graphic capabilities. This is a Telegram bot which fetches weather data via the openweathermap.org API, plots an image using ggoplot2 package from R and sends the image to the Telegram user.

Excerpt from Eduard's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.