A Gridsome starter using Hubspot to create new contacts and deals to your Hubspot.
https://gridsome-hubspot-starter.netlify.app
- When the contact form is submitted from the Gridsome, it does the following:
- check if contact email exist in your Hubspot CRM
- if contact does not exist, it will create a new contact.
- create new engagement for this contact.
- create a new deal for this contact.
- You need an account at Hubspot
- Set the environement variable called HUBSPOT_API_KEY with your own API key.
- Install Gridsome CLI tool if you don't have it:
npm install --global @gridsome/cli
- Clone the repo:
git clone https://github.com/jsappme/gridsome-hubspot-starter.git
cd gridsome-hubspot-starter
npm install
gridsome develop
to start a local dev server athttp://localhost:8080
- This repo is a fork of this personal portfolio website.
Happy coding!