Send qualified leads to HubSpot with n8n

Turn each new job, quote, product or service enquiry into a HubSpot contact with a follow-up task due the next day.

Updated 18 Nov 2026

What it does

When an enquiry about a new job or quote, a product or a service arrives, this workflow creates the HubSpot contact (or updates it if the email already exists) and adds a follow-up task due the next day. Other enquiries, and enquiries without an email address, are ignored.

You need

  • n8n, cloud or self-hosted. Tested on n8n 2.48.

  • A HubSpot private app access token that can read and write contacts and create tasks.

  • The workflow file. Download it from this page.

Set it up

  1. In n8n, choose Import from file and pick the workflow file you downloaded.

  2. Open the Trevilo enquiry step and copy its Production URL.

  3. In the same step, create a Header Auth credential. Name: X-Webhook-Key. Value: a long random key you make up (a password manager can generate one).

  4. In Trevilo, add a rule for enquiries that are about a new enquiry or quote, a product or a service. Send it to a new n8n connection with the Production URL. Set the connection's login to API key in a header, header name X-Webhook-Key, and the same key.

  5. In Create or update contact, create a HubSpot App Token credential with your token, and use it in Create task too.

  6. In Create task, add the owner who should follow up (Additional fields, Associations, Owner ID).

  7. Publish the workflow, then send a test enquiry from Trevilo. A contact and a task appear in HubSpot.

Good to know

  • n8n refuses any request without your key, so only your Trevilo connection can start the workflow.

  • If Trevilo delivers the same enquiry again, the workflow ignores the repeat.

  • On Launch plans Trevilo does not classify enquiries, so every enquiry with an email is treated as a lead and its task says "Not classified".

  • Each delivery to n8n uses 1 credit. See Credits.

Send qualified leads to HubSpot with n8n | Trevilo help