Loading...

When HubSpot forms capture valuable lead information, you often need those details delivered instantly to a specific inbox, whether it’s your sales team, support desk, or an external system. While HubSpot doesn’t natively email form submission data outside its notification settings, you can automate it using a custom workflow and SendGrid’s transactional API.

This guide shows you exactly how to send HubSpot form data via email using a SendGrid API key and a simple Node.js custom code action inside workflows.

Prerequisite:

  • HubSpot Developer account
  • SendGrid API Key
  • Basic Knowledge of Node.js and REST APIs

How to send Form data via Email Using Sendgrid API and Custom Code in Hubspot

Below is a detailed step-by-step guide. Let’s dive in:

Step 1: Create a HubSpot Workflow

  • Go to Automation Workflows
  • Click Create workflow-> From scratch
  • Choose Contact-based workflow
  • Set trigger to:Form submission ->Select your form
  • Save the trigger.

Step 2: Add a Custom Code Action Inside the Workflow

  • Click ‘+’ inside the workflow
  • Choose Custom Code
  • Set Language->Node.js
  • Under “Properties to pass into code”, add a property
  • Scroll to Secrets
  • Click Add Secret
  • Name it: SENDGRID_API_KEY
  • Paste your SendGrid API key
Screenshot 74

Step 3: Write Your Custom Code

Screenshot 71 1
Screenshot 72
Screenshot 73

Watch the Demo

Conclusion

By integrating HubSpot workflows with SendGrid’s reliable email API, you gain complete control over how form submissions are delivered: custom formatting, dynamic fields, conditional routing, and more. This setup ensures your team receives accurate, instant notifications without relying on HubSpot’s default email options.

Whether you’re streamlining sales alerts, support requests, demo enquiries, or onboarding workflows, this SendGrid integration keeps your communication fast, consistent, and fully automated. If your team also uses Salesforce, you can implement similar automation using custom Apex triggers or Flow integrations.

Our HubSpot Development Services help unify HubSpot-to-Salesforce data, automate alerts, and build end-to-end workflows across both platforms for higher efficiency.

No Data Found.

Related Articles
How to Integrate Purchase Orders Between NikoHealth and Salesforce

Purchase Orders are used to manage inventory procurement, vendor orders, product replenishment, and supply chain operations. Using MultiSync Made Easy, organizations can synchronize Purchase Orders between NikoHealth and Salesforce while maintaining relationships with: Vendors Products Purchase Order Items Locations In this guide, we will configure: NikoHealth → Salesforce Purchase Order Synchronization Salesforce → NikoHealth Purchase […]

Read More
How to Integrate Invoices Between NikoHealth and Salesforce

Invoices are a critical part of the healthcare billing process. They contain billing information, insurance details, diagnosis codes, service lines, HCPCS codes, charges, balances, and payment-related information. Using NikoHealth with Salesforce, organizations can automatically synchronize Invoice records between both platforms while maintaining relationships with: Orders Patients With Salesforce NikoHealth integration through MultiSync Made Easy, organizations […]

Read More
How to Integrate Order Records Between NikoHealth and Salesforce

In this guide, we’ll walk through how to synchronize Order records between NikoHealth and Salesforce using MultiSync Made Easy. Before proceeding, ensure that: NikoHealth is already authorized with Salesforce. Patient synchronization is already configured. The Order object exists in Salesforce. This Salesforce NikoHealth integration guide covers: NikoHealth → Salesforce Order Synchronization Salesforce → NikoHealth Order […]

Read More
How to Integrate Documents Between NikoHealth and Salesforce

Healthcare organizations manage a wide range of patient documents, from prescriptions and medical orders to other important records. Keeping these files updated across NikoHealth with Salesforce can be difficult when documents are uploaded and managed manually.  A reliable Salesforce document management process helps ensure patient files stay organized and accessible in one place. In this […]

Read More
How to Integrate Medical Records Between NikoHealth and Salesforce

Medical Records contain important patient diagnosis information used by healthcare providers for treatment, billing, authorizations, prescriptions, and order processing. With MultiSync Made Easy, organizations can simplify NikoHealth and Salesforce synchronization by automatically syncing Medical Records between both platforms while maintaining accurate Patient relationships. In this guide, we will configure: NikoHealth → Salesforce Medical Record Synchronization […]

Read More
How to Integrate Authorization Records Between NikoHealth and Salesforce Using MultiSync Made Easy

Authorizations are one of the most important components of the healthcare revenue cycle. They help providers track payer approvals, authorized units, approved amounts, HCPCS codes, and authorization periods before services are delivered or billed. When authorization data is managed across different platforms, keeping records updated manually can become difficult. A proper Healthcare CRM Integration helps […]

Read More
Our Location worldwide
Indian Flag India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203239658 +91-1203669505
United States of America Flag USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
United Kingdom Flag UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
CA Flag Canada
HIC Global Solutions INC
6D - 7398 Yonge St #1124 Thornhill, ON L4J 8J2 Canada +1(262) 310-7818