Turn Auth0 signups into HubSpot leads with a Slack alert

By General Input

When someone new signs up through Auth0, add them to HubSpot as a lead and post a short alert in a Slack channel so your team can react in real time.

Integrations

  • Auth0
  • HubSpot
  • Slack Bot

Type

Agentic Task

Categories

  • Sales
  • Operations

Every time a new user finishes signup in Auth0, sync them into HubSpot as a lead and post a short heads-up in a growth or sales Slack channel.

Trigger: poll Auth0 for new tenant log events using the new_log_event poll trigger (Search Log Events under the hood). Only act on entries where the log type code is ss (signup success). Ignore every other type code.

For each new signup event, do the following.

1. Load the full user profile. Call Auth0 Get User with the user_id from the log event. Pull the email, given_name and family_name (or split the full name), the primary connection (for example google-oauth2, Username-Password-Authentication, or a SAML strategy), the signup source, and any app_metadata or user_metadata the app captured. If the email is missing, or the address looks like a test account (for example ends in example.com, uses +test@ tagging, or matches an internal QA pattern), skip the event. Also skip Auth0's own admin users (identity provider auth0 with an admin app_metadata flag) and social-only accounts that have no verified email.

2. Look the person up in HubSpot. Call HubSpot Search Contacts with a filter of email equals the Auth0 email. If a contact is returned, remember its id and mark this signup as an existing contact.

3. If no contact was found, call HubSpot Create Contact with these properties: email (required); firstname and lastname parsed from the Auth0 profile; lifecyclestage set to lead. Then call HubSpot Create Note and associate it with the new contact, containing a short summary like "Signed up via google-oauth2 on 2026-07-17T14:03Z. Source: marketing site. Metadata: {plan: free, referrer: blog}." Include the Auth0 connection type, the signup timestamp from the log event, and any interesting fields from app_metadata or user_metadata.

4. Post a short New signup message to a growth or sales Slack channel using Slack Bot Send a Message. Keep it to a few lines, using Slack mrkdwn. Include the user's email, the Auth0 connection type in plain language (Google, Email + password, SAML, and so on), and whether the HubSpot contact was newly created or already existed. Example: "New signup: jane@acme.com via Google. Added to HubSpot as a new lead." or "Repeat signup: jane@acme.com via SAML. Contact already in HubSpot."

Rules to always follow: process each new signup event at most once; skip social-only test accounts and Auth0's own admin users; do not create duplicate HubSpot contacts; keep the Slack message short and readable; if Auth0, HubSpot, or Slack returns an error the workflow cannot recover from, log it and continue with the next event so one bad signup does not stall the queue.

Related prompts

Explore more prompts
A brand asset library your marketing team actually searchesTurn Mailjet email clicks into ranked HubSpot follow-upsClean out the Looker dashboards and Looks nobody opensLiveKit live operations console for room moderationWake up dormant Keap leads with a researched reasoniMessage campaign console with pre-flight checks and delivery boardLiveChat coverage board for planning next week's shiftsPhone routing control panel for LiveKit voice agentsA searchable RFP answer library your bid team drafts fromLinkedIn Ads budget pacing dashboard for every client account