Webhook logo
Cloudflare DNS logo
Telegram Bot logo

Workflow template

Send Telegram a receipt when a host address changes

Update a configured host from a private webhook and notify its operator only when Cloudflare creates or changes the address.

How it works

Send Telegram a receipt when a host address changes

1 Trigger · 2 Actions
Webhook1 · Trigger

New IP address received

Receive a JSON submission from your existing form backend at this Workflow's private webhook URL.

Cloudflare DNS2 · Action

Apply the supplied IP address

Create an A or AAAA record or change its IP address. Repeated deliveries keep the same record.

Telegram Bot3 · Action

Send the change receipt

Telegram Bot API sendMessage. Use this method to send text messages. On success, the sent [Message](/bots/api/types/message.md) is returned.

Before activation

Set up your workflow

  1. Pin the hostname

    Choose a zone with DNS Edit access and enter one full host name. Use a DNS-only record if public lookups should return the supplied IP address.

  2. Choose the operator chat

    Connect Telegram and choose a chat where the bot can send messages. Keep the input webhook URL with the system authorized to update this host.

  3. Test a repeated update

    POST a JSON object with an address field. Repeat the same IP and then send a different one of the same address family. Only the creation and the change should send receipts.

Explore connected apps