Ā·

—

Zero Touch – Onboard / Offboard Salesforce Users (Bettercloud & Zapier)

šŸŽÆ Goal:

Reduce ā€œComplete with Errorsā€ when offboarding users from Salesforce.
During offboarding, if a user no longer exists in Salesforce, the workflow currently fails with a “Complete with Errors” status. Our goal is to eliminate this by verifying user status beforehand.


šŸ”„ Updated Workflow Overview

To ensure accuracy and reduce errors, we’ve enhanced both the offboarding and onboarding processes for Salesforce users:

āœ… Onboarding Enhancement:

When a new user is created:

  • User details are automatically sent to Zapier.
  • Zapier logs the user as an active Salesforce user in an audit log (Google Sheet).
  • This ensures we maintain an up-to-date list of all active Salesforce users.

🚪 Offboarding Workflow:

  1. User Suspension in OneLogin
    → Triggers the ā€œULM Offboarding Usersā€ workflow in BetterCloud.
  2. Webhook Sent to Zapier
    → Zapier checks the audit log (Google Sheet) for the user’s presence.
  3. Zapier Looks for User in Salesforce Audit Log
    • If found:
      • Status changes from Active to Suspended.
      • Zapier sends confirmation back to BetterCloud.
      • Triggers the ā€œULM – Offboard Salesforceā€ action.
    • If not found:
      • Zapier filters out the user.
      • No response sent to BetterCloud, avoiding the ā€œComplete with Errorsā€ status.

šŸ“ˆ Impact:

  • āœ”ļø Eliminates failed workflow errors during offboarding.
  • šŸ”’ Improves audit reliability with accurate, real-time Bettercloud / Salesforce user tracking.
  • šŸ› ļø Simplifies troubleshooting, reducing manual intervention and IT overhead.

FAQ:

Why not check validation through Bettercloud? The native integration between Bettercloud & Salesforce does not allow for account validation before offboarding.


Swimlane:


Zapier Workflow