This activity shows you how to use a flow definition with an EXPERIENCE trigger type to register a new user. This registration flow does not require a PingOne sign-on policy. It can be initiated from a link on a web application, and after the new user is created, the flow redirects back to the web application.

The following operations are supported by the PingOne APIs:

Workflow order of operations

To create a new user using a flow definition with an EXPERIENCE trigger, the following tasks must be completed successfully:

  1. Make a POST request to /environments/{environmentId}/applications to add a new application to the specified environment.

  2. Make a POST request to /environments/{environmentId}/populations to create a new population for the registered user.

  3. Make a POST request to /environments/{environmentId}/forms to create the registration form.

  4. Make a POST request to /environments/{environmentId}/flowDefinitions to create the flow definition and flow steps.

  5. Make a POST request to /{environmentId}/experiences/{flowDefinitionID} to trigger flow execution.

  6. Make a POST request to /{environmentId}/flowExecutions/{flowExecutionID} to submit the form.

  7. Make a POST request to /{environmentId}/flowExecutions/{flowExecutionID} to verify the new user account.

Click the Run in Postman button below to download the Postman collection for this use case.

Run in Postman