External Systems Trigger Hubspot Contact Cleanup

Your external CRM or lead management system decides certain contacts are dead. Send a webhook to Notis, and those contacts are archived in Hubspot automatically.

Trigger

Webhook received

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

Hubspot logo

Action

Archive batch of contacts by id

Archives a batch of existing contacts by their hubspot crm ids, rendering them inactive; this action is irreversible via the api and requires manual restoration or a separate unarchive endpoint.

Why this helps

You have leads marked as 'unqualified' or 'bad fit' in another system, but they stay in Hubspot cluttering your pipeline. Manual cleanup would help, but it's not a priority, so they linger indefinitely.

  • External systems feed directly into Hubspot contact lifecycle
  • Contacts marked dead elsewhere disappear from your Hubspot automatically
  • Keeps Hubspot in sync with your source of truth for lead quality
  • Eliminates manual cleanup work

Setup

Build it in a few focused steps.

  • 1Connect Hubspot to Notis.
  • 2Create an automation: 'When an external system sends a webhook with contact IDs to archive, remove those contacts from Hubspot immediately.'
  • 3Use Notis Webhook as your trigger. Notis gives you a webhook URL for your external system to call.
  • 4Test by sending a sample webhook with a test contact ID and verify it's archived in Hubspot.

Questions about this workflow

What format should the webhook payload have?

JSON with a list of contact IDs. Tell Notis the exact format and Notis handles the rest.

Can I filter before archiving?

Yes. You can ask Notis to only archive contacts matching certain criteria, e.g., 'Only archive if the contact has no open deals.'

What if the contact ID doesn't exist?

Notis skips it gracefully and logs it. No errors, just a clean operation.

Can I restore archived contacts easily?

Yes. They go to Hubspot's recycling bin and can be restored if needed.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Telegram to Hubspot. A trigger fires from one place; an action lands in another.

Telegram logo

Telegram triggers

Hubspot logo

Hubspot actions

New Message Received

Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.

TriggerInstant

Add asset association

Associates an existing asset ('form', 'object list', or 'external web url') with a specified hubspot marketing campaign.

ActionInstant

New Channel Post

Triggered when a new post is published to a channel where your bot is an administrator.

TriggerInstant

Add token to event template

Adds a new custom data token to an existing event template for a specified hubspot application, optionally populating a crm object property if objectpropertyname is provided.

ActionInstant

Callback Query Received

Triggered when a user taps an inline keyboard button attached to one of your bot's messages.

TriggerInstant

Archive email

Archives the hubspot email specified by `emailid` by moving it to the recycling bin, making it inaccessible unless restored.

ActionInstant

Message Edited

Triggered when a message in a chat your bot can see is edited by its sender.

TriggerInstant

Archive a batch of emails by ID

Archives multiple hubspot crm emails by id; ids must exist as archiving is irreversible.

ActionInstant

New Chat Member

Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.

TriggerInstant

Archive a batch of quotes by id

Archives a batch of existing, non-archived quotes by their ids; this action is irreversible and useful for managing outdated or irrelevant quotes.

ActionInstant

Archive batch of companies by id

Archives a batch of companies by their unique ids; targeted companies must exist, not be previously archived, and this api operation is irreversible.

ActionInstant

Archive batch of contacts by id

Archives a batch of existing contacts by their hubspot crm ids, rendering them inactive; this action is irreversible via the api and requires manual restoration or a separate unarchive endpoint.

ActionInstant

Archive batch of deals by id

Archives a batch of existing deals by their unique hubspot ids, removing them from active views and reports (soft delete); archived deals may be restorable.

ActionInstant

Connect any two apps with Notis in the middle.

Not just Telegram and Hubspot. Any combination from 985+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7 days free trial with 20$ free usage included.
No card. Works with personal or business Hubspot.