You'll need your GoTo Account Key to run the GoTo Admin User Load.
Before you start
Add your GoTo credentials to Oomnitza.
Procedure
- Click Workflows and select Users as the object to create the workflow.
- Add the API block to the workflow and click Edit. Select Advanced Mode and supply the following details:
- Information tab:
- HTTP Methods is GET
- URL:
https://api.getgo.com/admin/rest/v1/me
- Authorization tab:
- Type is OAuth 2.0
- Credentials: Select the GoTo credentials you created earlier.
- Response tab:
- Enter
{{response}}in the positive response field. - Choose a long text Oomnitza field to map the response to.
- Enter
- Edit the Begin block and change the Actions to Schedule for immediate action. Set a rule so that the Email equals your email address.
- Save, Validate, and Active the workflow
- Click Run Scheduled workflow
Result
Open your user record, or the record matching the email you set as a rule in the Begin block. The response is mapped to the field you specified in the Response tab. The response should be similar to the response below.
{
"key": "150922757744360359619",
"accountKey": "212942354587382155242",
"email": helen.troy@email.ie",
"firstName": "Helen",
"lastName": "Troy",
"locale": "en_US",
"timeZone": "Europe/London",
"adminRoles": [
"MANAGE_SETTINGS",
"VIEW_INVOICES",
"MANAGE_SEATS",
"VIEW_AND_PAY_INVOICES",
"BILLING_ADMIN",
"VIEW_CALL_RECORDINGS",
"MANAGE_GROUPS",
"MANAGE_SETTINGS_PROFILES",
"SUPER_USER",
"MANAGE_ACCOUNT",
"MANAGE_DEVICE_GROUPS",
"MANAGE_EMERGENCY_SERVICES",
"RUN_REPORTS",
"MANAGE_USERS"
],
"accounts": [
{
"key": "212942354587382155242",
"name": "helen.troy@email.ie",
"adminRoles": [
"MANAGE_SETTINGS",
"VIEW_INVOICES",
"MANAGE_SEATS",
"VIEW_AND_PAY_INVOICES",
"BILLING_ADMIN",
"VIEW_CALL_RECORDINGS",
"MANAGE_GROUPS",
"SUPER_USER",
"MANAGE_SETTINGS_PROFILES",
"MANAGE_ACCOUNT",
"MANAGE_DEVICE_GROUPS",
"MANAGE_EMERGENCY_SERVICES",
"RUN_REPORTS",
"MANAGE_USERS"
],
"unifiedAdmin": false,
"slowChannelEnabled": false,
"toggleUnifiedAdmin": false,
"partner": false
}
],
"createTime": 1685023399690,
"products": [
"G2M"
]
}
Useful links
You can find useful information on the Get Me API used in the request in the GoTo Developer Centre: Get Me API.
Comments
0 comments
Please sign in to leave a comment.