Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1.66 KB

bulktriggereventdto.md

File metadata and controls

39 lines (34 loc) · 1.66 KB

BulkTriggerEventDto

Example Usage

import { BulkTriggerEventDto } from "@novu/api/models/components";

let value: BulkTriggerEventDto = {
  events: [
    {
      name: "workflow_identifier",
      payload: {
        "comment_id": "string",
        "post": {
          "text": "string",
        },
      },
      bridgeUrl: "https://example.com/bridge",
      overrides: {
        "fcm": {
          "data": {
            "key": "value",
          },
        },
      },
      to: {
        topicKey: "<value>",
        type: "Subscriber",
      },
    },
  ],
};

Fields

Field Type Required Description
events components.TriggerEventRequestDto[] ✔️ N/A