Set your data and your company's
Configured with Agent, Execute Workflow Trigger, Filter, Gmail, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Transform
- AI & models
- Integration
- Subworkflow
- Web / API
- Routing
- Messaging
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Webhook | Trigger | Webhook | See node parameters |
| Try Again | Transform | Edit Fields | See node parameters |
| Success | Transform | Edit Fields | See node parameters |
| Calendar Agent | AI & models | Agent | See node parameters |
| Create Event with Attendee | Integration | Google Calendar Tool | See node parameters |
| Create Event | Integration | Google Calendar Tool | See node parameters |
| Get Events | Integration | Google Calendar Tool | getAll |
| Delete Event | Integration | Google Calendar Tool | delete |
| Update Event | Integration | Google Calendar Tool | update |
| When Executed by Another Workflow | Trigger | Execute Workflow Trigger | See node parameters |
| OpenAI Chat Model2 | AI & models | OpenAI Chat Model | See node parameters |
| calendarAgent | Subworkflow | Tool Workflow | See node parameters |
| Structured Output Parser | Transform | Output Parser Structured | See node parameters |
| Get list of owners | Web / API | HTTP Request | See node parameters |
| Split Out owners | Transform | Split Out | See node parameters |
| Get current owner | Routing | Filter | See node parameters |
| HubSpot Trigger | Trigger | Hubspot Trigger | See node parameters |
| Enter your company data here | Transform | Edit Fields | See node parameters |
| If a contact is created | Routing | If | See node parameters |
| Get all info about the contact | Integration | Hubspot | get |
| Write a personalized message | AI & models | Agent | See node parameters |
| Send the message | Messaging | Gmail | See node parameters |
| Set owner to contact | Integration | Hubspot | See node parameters |
| Transforms markdown to HTML | Transform | Markdown | See node parameters |
| OpenAI Model | AI & models | OpenAI Chat Model | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
gmailOAuth2googleCalendarOAuth2ApihubspotDeveloperApihubspotOAuth2ApiopenAiApi
Workflow notes
What does it do?
What does it do?
Objective:
Streamline the onboarding process for new customers, ensuring they receive all necessary resources and support. Trigger: Set a webhook trigger or a CRM trigger (like HubSpot or Salesforce) for when a new customer is added.
Send Welcome Email: Use the Gmail or SMTP node to send a personalized welcome email to the customer.
Schedule a Welcome Call: Use the Calendar node (Google Calendar) to automatically create a calendar event for a welcome call.
Assign a CSM: Use the CRM node (like HubSpot) to assign the new customer to a dedicated CSM.
How to Set a Webhook in n8n and HubSpot
How to Set a Webhook in n8n and HubSpot
1. Set Up a Webhook in n8n
Step 1: Create a New Workflow
- Go to your n8n dashboard.
- Click on "New Workflow."
Step 2: Add the Webhook Node
- Click on the “+” icon to add a new node.
- Search for “Webhook” and select it.
- Set the Webhook Method (usually POST).
- Define the Webhook URL path, for example,
/hubspot-webhook. - Set the "Response Mode" (e.g., "On Received").
- Save the workflow.
Step 3: Set Webhook URL
-
Copy the Webhook URL generated by n8n. It should look something like:https://your-n8n-domain/webhook/hubspot-webhook
-
Ensure the workflow is active.
2. Set Up a Webhook in HubSpot
Step 1: Log in to HubSpot
- Go to HubSpot Developer Account (required for webhook setup).
- Navigate to "Settings" > "Integrations" > "Webhooks."
Step 2: Create a New Webhook Subscription
- Click “Create Webhook” or “Add Webhook” if this is your first one.
- Select the events you want to track (e.g., contact creation, form submission).
- Set the Webhook URL as the n8n Webhook URL you copied earlier.
- Choose “POST” as the request method.
- Set the Authentication if needed (you can set a secret or use OAuth).
Step 3: Test the Webhook
- Use the “Test Webhook” feature in HubSpot to send a test request.
- Switch to n8n and ensure the webhook is triggering properly.
3. Process the Data in n8n
- After the webhook is triggered in n8n, you will see the data sent by HubSpot.
- You can now add additional nodes to process the data (e.g., save to database, send email, perform actions in another app).
4. Make the Workflow Active
- Once you are done configuring, make sure the workflow is set to “Active.”
- This will allow it to receive live data from HubSpot.
Set your data and your company's
Set your data and your company's
The sender_email you set here has to be the same as the one you use in hubspot
Calendar tool
Calendar tool
This part has been borrowed from the excellent Nate Herk youtube channel
Email writer
Email writer
- This agent writes a personalized Email
- Uses the calendar Agent tool to create an appointmenton an empty slot. Feel free to personalize the prompt
Contact me
Contact me
- If you need any modification to this workflow
- if you need some help with this workflow
- Or if you need any workflow in n8n, Make, or Langchain / Langgraph
Write to me: user@example.com
Take a look at my others workflows here
Set your data and your company's
Set your data and your company's
Purpose and structure
This folder contains the Set your data and your company's workflow. Its executable nodes use agent, executeWorkflowTrigger, filter, gmail, googleCalendarTool, httpRequest, hubspot, hubspotTrigger, if, lmChatOpenAi, markdown, outputParserStructured, set, splitOut, toolWorkflow, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Webhook, When Executed by Another Workflow, HubSpot Trigger
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Hubspot/0920_HubSpot_Splitout_Create_Webhook.json MIT; preserve source notices.