<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007j19AMCAYOkta Identity EngineWorkflowsAnswered2022-06-18T00:16:46.000Z2022-06-10T08:45:52.000Z2022-06-18T00:16:46.000Z

LaurentO.47188 (Customer) asked a question.

Configure the JSON of the Hook Events

Hello,

 

We would like to use the Hook Events with the user activate event.

 

We saw that the target response is this part:

               "target": [

                   {

                       "id": "00u44iuwwr0RWWxDL417",

                       "type": "User",

                       "alternateId": "l****@***.com",

                       "displayName": "l**** o****",

                       "detailEntry": null

                   }

 

Is it possible to modify it as we would like to separate the first name and the last name and we like like to add some custom attributes we have for the profile user?

 

Thanks,

Laurent


  • flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery)

    Hi @LaurentO.47188 (Customer)​,

     

    Thank you for posting on the Okta community page!

     

    I have done some research but I was not able to find a way to modify the response from an Event Hook, therefore I would suggest to try and submit a feature request for this inquiry.

     

    Once feature requests are submitted they are visible to other Okta admins, who can vote on them to provide more visibility. Using this method will allow you to maintain visibility on your feature requests throughout the process.

     

    Additionally, my advice would be to leverage the Okta Developer forums for this type of questions and take advantage of their expertise.

    Expand Post
  • TimL.58332 (Workflows)

    @LaurentO.47188 (Customer)​ 

     

    Payloads from event hooks are derived from the same information that is displayed in the System Log. This is a payload that "starts" a flow. You can then take the provided data and manipulate it however you wish then utilize said data to perform an action.

     

    For example tim.laborn@domain could be split on @. Then List at on 0 to get tim.laborn. Which could then be split again on .

     

    This would give you list location 0 = first name, 1 = lastname.

     

     

     

     

    Expand Post
This question is closed.
Loading
Configure the JSON of the Hook Events