← Voltar para Flows
Notification Preferences Flow
Name
Notification Preferences Flow
Description
Usuário altera preferências de notificação e confirma atualização.
Trigger Event
notification_preferences_updated
Validated
Not Validated
Steps
1
updateNotificationPreferences
(Notification Service)
Input Mapping
{5}
userId
:
"$context.userId"
causationId
:
"$context.eventId"
preferences
:
"$context.preferences"
correlationId
:
"$context.correlationId"
idempotencyKey
:
"notif_prefs_update:$context.userId:$context.eventId:v1"
Output Handlers
Output Key
Next Step
Branch To Flow
Merge To Context
success
Step 2: sendNotification
—
Yes
2
sendNotification
(Notification Service)
Input Mapping
{1}
correlationId
:
"$step1.correlationId"
Output Handlers
Output Key
Next Step
Branch To Flow
Merge To Context
success
—
—
Yes