Skip to content
Workflow starter brief

Collect leads in a Telegram bot conversation

Collects lead details in a sheet and adds completed leads to HubSpot. Requires Telegram webhook registration with a secret token; one bot serves one workflow.

Build this workflowNo credit card requiredAI building has weekly usage limits.

Proposed workflow

A starting brief, not a preconfigured workflow or proof of a completed outcome. Review the generated steps and test with your accounts before publishing.

When

A message a person sends to your Telegram bot.

Then

  1. Find this chat id's row on the first tab of the Google Sheets spreadsheet id you choose in setup (Chat Id, Name, Email, Phone, Company, Status).
  2. If Status is Done, stop.
  3. If there is no row, add one and ask in Telegram for their name.
  4. Otherwise save the message into the first empty field and ask for the next one.
  5. Once all four are filled, create a HubSpot contact, set Status to Done and thank them.

Before you publish

After publishing, pick a secret token in Whenever and pass it with the webhook address to Telegram's setWebhook; one bot serves one workflow. Supply the Google Sheets id and the columns named in the brief.

Connect the accounts and credentials it needs first. Optional AI steps use AI at runtime and their output can vary, so review the workflow and test it before publishing.

Runtime limits, account access and AI usage

Apps it connects

Related templates

All templates

Agents should build your automations, not be them

Describe your first workflow in plain words. One stays live for free, no credit card.

No credit card required