← All N8N workflows
Messaging & emailGmailHTTP RequestHubspotIfSchedule Trigger

Search for all contacts that last contact date for is known

Configured with Gmail, HTTP Request, Hubspot, Schedule Trigger. Review the connections and setup before adapting this template.

Workflow preview
TriggerEvery day at 9 amSchedule TriggerMessagingSend outreach emailGmailIntegrationRecord engagement inHubSpotHubspotIntegrationGet previously HubSpotcontactsHubspotRoutingif last contactedbefore a monthIfWeb / APIGet Hubspot Contact toengagementHTTP RequestRoutingif there has been onlyone engagementIfTransformSet email keysEdit Fields

Node categories in this workflow

  • Trigger
  • Messaging
  • Integration
  • Routing
  • Web / API
  • Transform

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Every day at 9 amTriggerSchedule TriggerSee node parameters
Send outreach emailMessagingGmailSee node parameters
Record engagement in HubSpotIntegrationHubspotengagement
Get previously HubSpot contactsIntegrationHubspotsearch
if last contacted before a monthRoutingIfSee node parameters
Get Hubspot Contact to engagementWeb / APIHTTP RequestSee node parameters
if there has been only one engagementRoutingIfSee node parameters
Set email keysTransformEdit FieldsSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. 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

  • gmailOAuth2
  • hubspotOAuth2Api

Workflow notes

Search for all contacts that last contact date for is known

Search for all contacts that last contact date for is known

  1. Setup Oauth2 creds using n8n docs https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.hubspottrigger/

Be careful with scopes. Scopes must be exactly as defined in the n8n docs

To make this more effective, we sort ascending by last contact date.

Record engagement in Hubspot

Record engagement in Hubspot

Once engagement is added, last contact date is updated and won't show up in search results for another month.

Send followup email using Gmail to Hubspot contacts

Send followup email using Gmail to Hubspot contacts

Following up at the right time is one of the most important parts of sales. This workflow uses Gmail to send outreach emails to Hubspot contacts that have already been contacted only once more than a month ago, and records the engagement in Hubspot.

Search for all contacts that last contact date for is known

Search for all contacts that last contact date for is known

Purpose and structure

This folder contains the Search for all contacts that last contact date for is known workflow. Its executable nodes use gmail, httpRequest, hubspot, if, scheduleTrigger, set. 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

Every day at 9 am

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/Schedule/0422_Schedule_HTTP_Send_Webhook.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • Get pervious engagements. Avoid sending follow ups if first eng

More in Messaging & email