Let Oomnitza be your single source of truth!
You'll get visibility of your users as data from HubSpot is automatically transformed into consumable information and actionable insights.
Connect Oomnitza and HubSpot in minutes
You'll get visibility of your HubSpot users by creating configurable workflows to automate tasks such as:
-
- Onboarding and offboarding users
- Deleting users, such as inactive or underutilized users
- Creating and adjusting users as part of a user change or user onboarding workflow
- Retrieving detailed user information, including the user’s contact information, team, and role
- Retrieving SaaS user roles
Navigation
Before you start
Before you can create the integration with Oomnitza, you need to have added your HubSpot credentials to Oomnitza.
We recommend that you also create an extended integration for HubSpot users. You can use the information retrieved in these integrations to trigger workflows.
Creating workflows
Create user workflows
To create a user workflow, you must complete these steps:
- Click Configuration > Workflows
- Click Add (+) and select People from the list.
- Edit the Begin Block and add rules to trigger the workflow. For example, if you set the Actions to Schedule and add a rule so that the Email Equals <EmployeeEmail> you can trigger a workflow to fetch a user matching a certain name on a specific date. Refer to Using the Begin block.
- Drag and drop the API block onto the Sandbox.
- Click Edit on the API block and enter HubSpot in the search field.
- Select a preset from the list below. To choose a preset, click the forward arrow (>).
- HubSpot Get User Details
- HubSpot Update User
- HubSpot Delete User
- HubSpot Create User
- HubSpot Get Last Login
- Select the credentials that you created in Adding your HubSpot credentials to Oomnitza.
- Enter any mandatory information when prompted.
- Select Advanced Mode.
- Select the Information or Body tab. Review and ensure that the properties referenced in these locations, such as
{{hubspot_user_id}}
, exist in Oomnitza and are populated with information before you run this workflow. You can create a user integration to retrieve this information before you run this workflow. -
Select the Response tab. You can map the entire response by placing
{{response}}
in the Response field and mapping it to a custom long text Oomnitza field, such as API Response. Once you have the entire response, you can then parse the JSON response values to custom Oomnitza fields, as per the example below. - Connect the Blocks.
- Save, validate, and activate your workflow.
Fig: Mapping the Get User response.
Using the HubSpot Get User Details preset
The HubSpot Get User Details preset gets the details of a specified user. The user to be retrieved is referenced in the Advanced Mode > Information tab in the property{{hubspot_user_id}}
.
This preset requires the settings.users.read
scope.
For further information, see HubSpot Docs: User Provisioning
Using the HubSpot Update User preset
The HubSpot Update User preset updates a specified user. You need to supply the following information to update a user:
- Role ID: The user's role.
- Primary Team ID: The user's primary team.
The user to be updated is referenced in the Advanced Mode > Information tab in the property{{hubspot_user_id}}
.
This preset requires the settings.users.write
scope.
For further information, see HubSpot Docs: User Provisioning
Note
The ability to create Teams is disabled for trial account users.
Using the HubSpot Delete User preset
The HubSpot Delete User preset deletes the specified user.
The user to be deleted is referenced in the Advanced Mode > Information tab in the property{{hubspot_user_id}}
.
This preset requires the settings.users.write
scope.
For further information, see HubSpot Docs: User Provisioning
Warning
If successful, this workflow returns a204 No Content
response code. Do not map a response in Advanced Mode > Response, as it will cause the content to fail due to no content.
Using the HubSpot Create User preset
The HubSpot Create User preset creates a user. You need to supply the following information to create the user:
- Email: The user's email.
- Send Welcome Email (Boolean): Enter true to send a welcome email. Otherwise, enter false.
This preset requires the settings.users.write
scope.
For further information, see HubSpot Docs: User Provisioning
Using the HubSpot Get Last Login preset
The HubSpot Get Last Login preset gets activity logs for a HubSpot account.
The user to be retrieved is referenced in the Advanced Mode > Information tab in the property{{hubspot_user_id}}
.
This preset requires the account-info.security.read
scope.
For further information, see HubSpot Docs: Account Activity
Reference articles for workflows
Create SaaS user workflows
You can create a Saas User workflow in Oomnitza using the HubSpot User Role preset. This preset supplies you with the Role of your SaaS users. This workflow uses the HubSpot Roles API which is only available to enterprise users.
Prerequisites
Before you create a SaaS user workflow, you should have already run your extended user integration and selected User plus SaaS User to populate the software entry in the Software > SaaS menu.
To create a Saas User workflow using the HubSpot User Role preset, complete the following steps:
- Click Configuration > Workflows > Saas Users from the menu.
- Click Add (+). The Begin and End blocks are automatically added to the sandbox.
- Enter the name and a description of the workflow.
- Edit the Begin block by adding the rules that will trigger the workflow. For further information see SaaS User Roles.
- Click the Blocks tab, and drag and drop the SaaS User Role retrieval block onto the canvas.
- Click the Edit icon.
- Enter HubSpot in the search field and choose the HubSpot SaaS User Role preset.
- Click the right arrow >.
- Enter your Credentials.
- Select the Deactivate User checkbox to deactivate the SaaS user in SaaS > HubSpot > Users if they are not found in your HubSpot instance.
- Click SAVE.
- Connect the blocks.
- Save, validate, and activate your workflow.
To view active HubSpot users in the SaaS Users UI, complete the following steps:
- Click Software from the menu.
- Select the Saas tab, and select your software entry for HubSpot.
- Click Users in the side pane.
- The Role column is populated with the user details to confirm that this user has been found in your HubSpot SaaS.
This preset requires the settings.users.read
scope.
For further information, see HubSpot Docs: User Provisioning
Comments
0 comments
Please sign in to leave a comment.