Skip to main content

Zapier Integration

Connect OneTap Login to over 5,000 apps using Zapier. This guide walks you through setting up your first Zap to automate workflows when users sign in with Google.

PRO Feature

Webhooks require OneTap Login PRO. Upgrade to PRO to unlock this functionality.

Prerequisites

  • OneTap Login PRO installed and activated
  • Zapier account (free tier works)
  • Basic understanding of Zapier concepts

What You Can Do

When User...Then...
RegistersAdd to Google Sheets
RegistersCreate HubSpot contact
RegistersSend Slack notification
RegistersAdd to Mailchimp list
Logs inTrack in Mixpanel
Logs inUpdate CRM last activity

Step 1: Create a Zap

1.1 Access Zapier

  1. Go to zapier.com
  2. Log in or create account
  3. Click Create Zap

Zapier Create Zap

1.2 Set Up Trigger

  1. Search for Webhooks by Zapier
  2. Select Catch Hook
  3. Click Continue

Zapier Webhook Trigger

1.3 Get Webhook URL

  1. Zapier generates a unique URL
  2. Copy this URL (looks like https://hooks.zapier.com/hooks/catch/123456/abcdef/)
  3. Click Continue

Step 2: Configure OneTap Login

2.1 Access Webhook Settings

  1. Go to WordPress Admin
  2. Navigate to Settings > OneTap Login
  3. Click Integrations tab
  4. Find Webhooks section

2.2 Enter Zapier URL

  1. Enable Webhooks toggle
  2. Paste the Zapier URL in Webhook URL field
  3. Select events to trigger (user_registered, user_logged_in)
  4. Optionally configure payload sections
  5. Click Save Changes

2.3 Send Test Webhook

  1. Click Send Test Webhook
  2. Return to Zapier
  3. Click Test trigger
  4. Zapier should receive the test data

Step 3: Test the Webhook

In Zapier

  1. Click Test trigger
  2. Zapier shows "We found a request!"
  3. Review the sample data
  4. Click Continue

Sample Data Received

{
"event": "user_registered",
"timestamp": "2024-01-15T10:30:00Z",
"user": {
"id": 123,
"email": "test@example.com",
"first_name": "Test",
"last_name": "User"
}
}

Step 4: Add an Action

Example: Add to Google Sheets

4.1 Choose Action App

  1. Search for Google Sheets
  2. Select Create Spreadsheet Row
  3. Click Continue

4.2 Connect Google Account

  1. Click Sign in to Google Sheets
  2. Authorize Zapier access
  3. Click Continue

4.3 Configure Action

  1. Spreadsheet: Select your spreadsheet
  2. Worksheet: Select the sheet
  3. Map fields:
    • Column A (Email): Select user > email
    • Column B (Name): Select user > first_name
    • Column C (Date): Select timestamp

4.4 Test Action

  1. Click Test action
  2. Check your Google Sheet for new row
  3. Click Continue

Step 5: Turn On Your Zap

  1. Name your Zap (e.g., "OneTap to Sheets")
  2. Click Publish
  3. Your Zap is now active!

Common Zapier Actions

Add to CRM (HubSpot)

App: HubSpot Action: Create Contact

Field Mapping:

HubSpot FieldOneTap Data
Emailuser.email
First Nameuser.first_name
Last Nameuser.last_name
Lead Source(set to "Google Sign-In")

Send Slack Notification

App: Slack Action: Send Channel Message

Message Template:

🎉 New user registered via Google!

Name: {{user.first_name}} {{user.last_name}}
Email: {{user.email}}
Method: {{context.login_method}}

Create Notion Database Entry

App: Notion Action: Create Database Item

Field Mapping:

Notion FieldOneTap Data
Nameuser.display_name
Emailuser.email
Registeredtimestamp
Source"Google"

Add to Mailchimp List

App: Mailchimp Action: Add/Update Subscriber

Field Mapping:

Mailchimp FieldOneTap Data
Emailuser.email
First Nameuser.first_name
Last Nameuser.last_name
Tags"google-signup"

Using Multiple Actions

Sequential Actions

Add multiple actions to one Zap:

Trigger: OneTap Webhook

Action 1: Add to Google Sheets

Action 2: Send Slack notification

Action 3: Create HubSpot contact

Conditional Paths

Use Paths for conditional logic:

Trigger: OneTap Webhook

Path A: If event = user_registered
→ Action: Welcome email

Path B: If event = user_logged_in
→ Action: Update last login

Filtering Events

Filter by Event Type

Add a Filter step:

Condition: event (Text) Exactly matches user_registered

This only runs for new registrations, not logins.

Filter by Domain

Condition: user > email (Text) Contains @company.com

This only runs for specific email domains.

Troubleshooting

Webhook Not Received

  1. Verify webhook URL is correct
  2. Check webhook is enabled in OneTap Login
  3. Use "Send Test Webhook" to verify
  4. Check Zapier's task history

Data Not Mapping Correctly

  1. Review sample data in Zapier
  2. Check field names match
  3. Use Formatter for data transformation
  4. Test with fresh trigger data

Zap Turning Off

  1. Check for errors in Zap history
  2. Verify connected accounts still valid
  3. Ensure you're within Zapier plan limits
  4. Check OneTap webhook is still enabled

Delayed Processing

  1. Zapier free tier may have delays
  2. Upgrade for faster processing
  3. Check Zapier system status

Best Practices

Security

  • Keep webhook URL secret
  • Don't share Zap links publicly
  • Regularly review connected accounts

Reliability

  • Test Zaps before going live
  • Monitor task history weekly
  • Set up error notifications

Efficiency

  • Use single multi-action Zap vs multiple Zaps
  • Filter early to save tasks
  • Use caching where possible

Example Zaps

E-commerce Welcome Flow

1. Trigger: OneTap webhook (user_registered)
2. Filter: event = user_registered
3. Action: Add to Google Sheets
4. Action: Add to Mailchimp (tag: new-google-user)
5. Action: Send Slack notification

B2B Lead Tracking

1. Trigger: OneTap webhook (user_registered)
2. Filter: email contains @company.com
3. Action: Create HubSpot contact
4. Action: Add to Salesforce
5. Action: Notify sales team via Slack

Engagement Tracking

1. Trigger: OneTap webhook (user_logged_in)
2. Action: Update Google Sheets (last login)
3. Action: Send event to Mixpanel

Next Steps