Create HubSpot call tasks for new B2B visitors with Webmetic, OpenAI and Teams
UnknownWhat this workflow does
This AI workflow has 15 nodes and runs on a schedule (every minute). Along the way it connects HubSpot, OpenAI Chat Model, Microsoft Teams and Webmetic (community). It also calls api.hubapi.com over HTTP.
How it runs
Trigger: On a schedule (every minute).
- Set Lead Criteria (Edit Fields (Set)): sets 5 fields: domain, minLeadScore, yourCompany…
- Fetch Webmetic Visits (Webmetic): uses Webmetic
- Deduplicate Companies (Remove Duplicates): removes duplicate items
- Filter: keeps only the items that match a condition
- Post to HubSpot Company Search (HTTP Request): calls api.hubapi.com (POST)
- Check Open Deal in HubSpot (If): checks a condition and branches into true / false
- Post to HubSpot Deal Search (HTTP Request): calls api.hubapi.com (POST)
- Find Contacts via Webmetic (Webmetic): work with contact
- Add Task to HubSpot Deal (HubSpot): work with engagement
- Call Script Agent (AI Agent): runs an AI agent, with model: OpenAI Chat GPT-
…plus 3 more steps. See the full node list below.
Services it uses
Other OpenAI + HubSpot templates (86) · Other OpenAI + Microsoft Teams templates (18) · Other HubSpot + Microsoft Teams templates (3)
HTTP calls to: api.hubapi.com
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-webmetic is verified or supports 3.0 (used in Fetch Webmetic Visits, Find Contacts via Webmetic).
Nodes used (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Webmetic
n8n-nodes-webmetic.webmetic - Remove Duplicates
n8n-nodes-base.removeDuplicates - Filter
n8n-nodes-base.filter - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - HubSpot
n8n-nodes-base.hubspot - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Microsoft Teams
n8n-nodes-base.microsoftTeams
From the author
Quick overview Every minute, this workflow picks up companies Webmetic identified on your website for the first time. If HubSpot or any CRM shows an open deal, the deal owner gets a task. Otherwise Webmetic reveals a decision maker, OpenAI writes a call…