OOTB - Financial Services - Transfer Approval via Email - Subflow
The OOTB - Financial Services - Transfer Approval via Email - Subflow uses a magic link email to get user verification for a transaction.
Purpose
The OOTB - Financial Services - Transfer Approval via Email - Subflow sends a magic link email to the user’s email address. When the user follows the magic link to approve the transaction, the flow passes this approval to the parent flow.
Structure
This flow is divided into sections using teleport nodes:
- Create Challenge And Send Transfer Approval Email
-
Uses a PingOne node to verify that the user exists. The flow then simultaneously uses a flow conductor to start an out of band process and progresses to the Challenge Acceptance By The User section.
A PingOne notifications node sends a magic link email to the user, and an HTML node displays a polling screen for the user. The flow then progresses to the Display Polling And Check For Challenge Status section.
- Challenge Acceptance By The User
-
Function nodes check the challenge status and check whether the challenge has expired. If the challenge has not expired, a function node approves the challenge and a success message displays.
- Display Polling And Check For Challenge Status
-
A function node proceeds if the user does not click Cancel.
If the user doesn’t click Cancel, a function node checks the challenge status. If the status is approved, the flow progresses to the Return Success section. If the status isn’t approved, the flow progresses to the Challenge Expiration section.
- Challenge Expiration
-
A function node checks whether the challenge was denied. If so, an error message displays. If the user clicks Next, the flow progresses to the Return Success section.
- Return Success
-
Sends a success JSON response, indicating that the flow has completed successfully.
- Return Error
-
Uses a function node to enrich the error details, then sends an error JSON response indicating that the flow completed unsuccessfully.
Input schema
This flow has the following inputs:
Input name | Required | Description |
---|---|---|
|
Yes |
The current user’s PingOne user ID. |
|
No |
The company logo to display in user-facing HTML pages. |
|
Yes |
The destination account for the transfer. |
|
Yes |
The amount of money to be transferred. |
|
Yes |
The source account for the transfer. |
|
Yes |
The type of process that launched this subflow. |