← Voltar para Flows

Cron: Review Reminders Flow

Name
Cron: Review Reminders Flow
Description
Job diário envia lembretes de review pós-checkout.
Validated
Not Validated

Steps

  1. 1
    listNotifications(Notification Service)
    Input Mapping
    page: 1
    userId: "$context.userId"
    pageSize: 50
    unreadOnly: true
    correlationId: "$context.correlationId"
    Output Handlers
    Output KeyNext StepBranch To FlowMerge To Context
    successStep 2: sendNotificationYes
  2. 2
    sendNotification(Notification Service)
    Input Mapping
    data:
    count: "$step1.unreadCount"
    channel: "push"
    priority: "normal"
    template: "review_reminder"
    recipientId: "$step1.notifications[0].userId"
    correlationId: "$step1.correlationId"
    idempotencyKey: "review_reminder:$step1.notifications[0].userId:$trigger.eventId"
    Output Handlers
    Output KeyNext StepBranch To FlowMerge To Context
    successYes