← Voltar para Flows
Withdraw Application Flow
Name
Withdraw Application Flow
Description
Artista retira candidatura a um guest spot e studio é notificado.
Trigger Event
application_withdrawn
Validated
Not Validated
Steps
1
withdrawApplication
(Booking Service)
Input Mapping
{4}
userId
:
"$trigger.userId"
authToken
:
"$trigger.authToken"
applicationId
:
"$trigger.applicationId"
idempotencyKey
:
"withdraw:$trigger.applicationId:$trigger.eventId"
Output Handlers
Output Key
Next Step
Branch To Flow
Merge To Context
success
Step 2: sendNotification
—
Yes
2
sendNotification
(Notification Service)
Input Mapping
{7}
data
:
"$step1.data"
channel
:
"IN_APP"
priority
:
"normal"
template
:
"application_withdrawn"
recipientId
:
"$trigger.studioOwnerUserId"
correlationId
:
"$trigger.correlationId"
idempotencyKey
:
"application_withdrawn_notify:$step1.data.applicationId:$trigger.eventId"
Output Handlers
Output Key
Next Step
Branch To Flow
Merge To Context
success
—
—
Yes