Please enable JavaScript.
Coggle requires JavaScript to display documents.
Onelogin Create User, Approval Notification to (Default Role User/s) -…
Onelogin Create User
[BOT calls API to check Role]
{domain}/api/2/users
{domain}/api/2/users/{userID}
{domain}/api/2/roles
[If user is present in Default Role or client specified]
<Adaptive Card>
Please provide below details of User:
Active: <Radio Button> [Yes] [No]
First Name: [Single Input Line- Mandatory]
Last Name: [Single Input Line- Mandatory]
Email: [Single Input Line- Mandatory]
UserName: [Single Input Line- Mandatory]
<Show Card> Add More Details
<btn> Submit
[submit]
[If Submitter is in Default Role or any client specified]
[BOT calls API to create user]
POST {domain}/api/2/users
[API Failure]
Looks like there was some problem,
I have notified support team about this
Anything else?
[API Success]
User: [username] has been created now
[If submitter isnt present in Role]
[BOT calls API to create a New REQ for approval to (Default Role User/s)
with status Awaiting Approval]
[API Failure]
[API Success]
Thanks, i have sent your request for approval to [Name]. Once approved, access will be provisioned and a notification sent to you. For reference, [REQ# XX] has been created for this request.
[Bot send notification over Mail/Teams to (Default Role User/s) to Approve/Reject Request]
Is there anything else?
[Add More details]
[BOT calls API to get Groups]
GET <domain>/api/1/groups
Phone: [Single Input Line]
Manager: [Dropdown with Names]
Company: [Single Input Line]
Dept: [Single Input Line]
Title: [Single Input Line]
Group: [Dropdown with Group Names]
Role: [Multi select Dropdown with Role Names]
Comment: [Single Input Line]
[If user isnt present in Role]
Sorry you dont have access to create a user.
Ill seek approval to create one, Proceed?
<Yes><No>
[Yes]
[No]
Anything else?
Approval Notification to (Default Role User/s)
REQ-XX: [User] needs access to Onelogin
<Approve>
<Reject>
[Approve]
[API call to create User]
POST {domain}/api/2/users
[Success]
[User created, Sends notification mail to user about approval and close REQ# XX as Approved/Completed]
[Failure]
Add Note in REQ-XX: This request is Approved by [User], but there was some problem in processing it.
[Assign to Queue-XX]
[Reject]
[Add any comments]
[Sends notification to user about Rejection, update Notes and status of REQ# XX]