[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-novu-novu-trigger-notification":3,"mdc--6wwskn-key":32,"related-org-novu-novu-trigger-notification":2472,"related-repo-novu-novu-trigger-notification":2577},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":20,"repoUrl":21,"updatedAt":22,"license":23,"forks":24,"topics":25,"repo":27,"sourceUrl":30,"mdContent":31},"novu-trigger-notification","trigger Novu notification workflows","Trigger Novu notification workflows to send messages across email, SMS, push, chat, and in-app channels. Supports single triggers, bulk triggers, broadcast to all subscribers, topic-based targeting, and cancellation. Use when sending transactional notifications, alerts, or any event-driven messages.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"novu","Novu","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fnovu.png","novuhq",[13,17],{"name":14,"slug":15,"type":16},"Automation","automation","tag",{"name":18,"slug":19,"type":16},"Notifications","notifications",1,"https:\u002F\u002Fgithub.com\u002Fnovuhq\u002Fskills","2026-07-13T06:21:23.63132",null,2,[26,19,8],"notification",{"repoUrl":21,"stars":20,"forks":24,"topics":28,"description":29},[26,19,8],"Novu Skill Set for AI Agents ","https:\u002F\u002Fgithub.com\u002Fnovuhq\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Ftrigger-notification","---\nname: novu-trigger-notification\ndescription: Trigger Novu notification workflows to send messages across email, SMS, push, chat, and in-app channels. Supports single triggers, bulk triggers, broadcast to all subscribers, topic-based targeting, and cancellation. Use when sending transactional notifications, alerts, or any event-driven messages.\ninputs:\n  - name: NOVU_SECRET_KEY\n    description: \"Server-side API key from https:\u002F\u002Fdashboard.novu.co\u002Fapi-keys. Used by @novu\u002Fapi.\"\n    required: true\n    type: secret\n---\n\n# Trigger Notification\n\nSend notifications by triggering Novu workflows. Supports single, bulk, broadcast, and topic-based delivery.\n\n## SDK Setup\n\n```typescript\nimport { Novu } from \"@novu\u002Fapi\";\n\nconst novu = new Novu({\n  secretKey: process.env.NOVU_SECRET_KEY,\n});\n```\n\n## Single Trigger\n\nSend a notification to one subscriber:\n\n```typescript\nconst result = await novu.trigger({\n  workflowId: \"welcome-email\",\n  to: \"subscriber-123\",\n  payload: {\n    userName: \"Jane\",\n    activationLink: \"https:\u002F\u002Fapp.example.com\u002Factivate\",\n  },\n});\n```\n\n### Trigger with Inline Subscriber Creation\n\nIf the subscriber doesn't exist yet, provide the full object — Novu upserts the subscriber:\n\n```typescript\nconst result = await novu.trigger({\n  workflowId: \"welcome-email\",\n  to: {\n    subscriberId: \"user-456\",\n    email: \"jane@example.com\",\n    firstName: \"Jane\",\n    lastName: \"Doe\",\n  },\n  payload: { userName: \"Jane\" },\n});\n```\n\n### Trigger with Transaction ID\n\nUse custom `transactionId` for idempotency:\n\n```typescript\nconst result = await novu.trigger({\n  workflowId: \"order-update\",\n  to: \"subscriber-123\",\n  payload: { orderId: \"order-789\" },\n  transactionId: \"unique-tx-id-abc\",\n});\n```\n\n## Bulk Trigger\n\nSend up to **100 events** in a single request:\n\n```typescript\nconst result = await novu.triggerBulk({\n  events: [\n    {\n      workflowId: \"welcome-email\",\n      to: \"subscriber-1\",\n      payload: { userName: \"Alice\" },\n    },\n    {\n      workflowId: \"welcome-email\",\n      to: \"subscriber-2\",\n      payload: { userName: \"Bob\" },\n    },\n  ],\n});\n```\n\n## Broadcast\n\nSend to **all subscribers** in the environment:\n\n```typescript\nconst result = await novu.triggerBroadcast({\n  \u002F\u002F here name field is for workflowId\n  name: \"system-announcement\",\n  payload: {\n    message: \"Scheduled maintenance at 2am UTC\",\n  },\n});\n```\n\n## Topic-Based Trigger\n\nSend to all subscribers in a topic:\n\n```typescript\nconst result = await novu.trigger({\n  workflowId: \"project-update\",\n  to: [{\n    type: \"Topic\",\n    topicKey: \"project-alpha-watchers\",\n  }],\n  payload: { update: \"New release deployed\" },\n});\n```\n\n## Cancel a Trigger\n\nCancel delayed or digested notifications using the `transactionId`:\n\n```typescript\nawait novu.cancel(\"unique-tx-id-abc\");\n```\n\n## Trigger Parameters\n\n| Parameter | Required | Description |\n| --- | --- | --- |\n| `workflowId` | Yes | The workflow identifier (not display name) |\n| `to` | Yes | Subscriber ID (string), subscriber object, or topic target |\n| `payload` | No | Data passed to the workflow, validated against `payloadSchema` |\n| `overrides` | No | Provider-specific overrides per channel |\n| `transactionId` | No | Unique ID for idempotency and cancellation |\n| `actor` | No | Subscriber ID or object representing who triggered the action |\n| `context` | No | Key-value pairs for multi-tenancy \u002F organizational context |\n\n## Overrides\n\nOverride provider-specific settings per trigger:\n\n```typescript\nconst result = await novu.trigger({\n  workflowId: \"alert\",\n  to: \"subscriber-123\",\n  payload: { message: \"Server down\" },\n  overrides: {\n    \"providers\": {\n      \"sendgrid\": {\n        from: \"alerts@example.com\",\n        cc: [\"user1@example.com\", \"user2@example.com\"],\n        replyTo: \"support@example.com\",\n      }\n    }\n  },\n});\n```\n\n## Common Pitfalls\n\n1. **`workflowId` is the identifier, not the display name** — use the identifier you set when defining the workflow, not its human-readable name. Novu creates workflowId automatically if not provided\n2. **Subscriber upsert** — triggering to a non-existent `subscriberId` or `subscriber` object string will create the subscriber with that subscriberId.\n3. **Bulk trigger limit is 100 events** — chunk larger batches into groups of 100.\n4. **`transactionId` is required for cancellation** — you cannot cancel a trigger without it. Either provide custom transactionId or store novu generated transactionId if usecase is to cancel the workflow run (trigger event) later.\n5. **Payload is validated against the workflow's `payloadSchema`** — if the workflow defines a schema, the trigger will fail if the payload doesn't match.\n\n## References\n\n- [Installation & Setup](.\u002Freferences\u002Finstallation.md)\n- [Single Trigger Examples](.\u002Freferences\u002Fsingle-trigger-examples.md)\n- [Bulk Trigger Examples](.\u002Freferences\u002Fbulk-trigger-examples.md)\n- [Topic Trigger Examples](.\u002Freferences\u002Ftopic-trigger-examples.md)\n- [Best Practices](.\u002Freferences\u002Fbest-practices.md)\n",{"data":33,"body":40},{"name":4,"description":6,"inputs":34},[35],{"name":36,"description":37,"required":38,"type":39},"NOVU_SECRET_KEY","Server-side API key from https:\u002F\u002Fdashboard.novu.co\u002Fapi-keys. Used by @novu\u002Fapi.",true,"secret",{"type":41,"children":42},"root",[43,52,58,65,240,246,251,460,467,472,740,746,759,945,951,964,1282,1288,1300,1451,1457,1462,1687,1693,1704,1756,1762,1949,1954,1959,2318,2324,2410,2416,2466],{"type":44,"tag":45,"props":46,"children":48},"element","h1",{"id":47},"trigger-notification",[49],{"type":50,"value":51},"text","Trigger Notification",{"type":44,"tag":53,"props":54,"children":55},"p",{},[56],{"type":50,"value":57},"Send notifications by triggering Novu workflows. Supports single, bulk, broadcast, and topic-based delivery.",{"type":44,"tag":59,"props":60,"children":62},"h2",{"id":61},"sdk-setup",[63],{"type":50,"value":64},"SDK Setup",{"type":44,"tag":66,"props":67,"children":72},"pre",{"className":68,"code":69,"language":70,"meta":71,"style":71},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { Novu } from \"@novu\u002Fapi\";\n\nconst novu = new Novu({\n  secretKey: process.env.NOVU_SECRET_KEY,\n});\n","typescript","",[73],{"type":44,"tag":74,"props":75,"children":76},"code",{"__ignoreMap":71},[77,131,139,179,222],{"type":44,"tag":78,"props":79,"children":81},"span",{"class":80,"line":20},"line",[82,88,94,100,105,110,115,121,126],{"type":44,"tag":78,"props":83,"children":85},{"style":84},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[86],{"type":50,"value":87},"import",{"type":44,"tag":78,"props":89,"children":91},{"style":90},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[92],{"type":50,"value":93}," {",{"type":44,"tag":78,"props":95,"children":97},{"style":96},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[98],{"type":50,"value":99}," Novu",{"type":44,"tag":78,"props":101,"children":102},{"style":90},[103],{"type":50,"value":104}," }",{"type":44,"tag":78,"props":106,"children":107},{"style":84},[108],{"type":50,"value":109}," from",{"type":44,"tag":78,"props":111,"children":112},{"style":90},[113],{"type":50,"value":114}," \"",{"type":44,"tag":78,"props":116,"children":118},{"style":117},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[119],{"type":50,"value":120},"@novu\u002Fapi",{"type":44,"tag":78,"props":122,"children":123},{"style":90},[124],{"type":50,"value":125},"\"",{"type":44,"tag":78,"props":127,"children":128},{"style":90},[129],{"type":50,"value":130},";\n",{"type":44,"tag":78,"props":132,"children":133},{"class":80,"line":24},[134],{"type":44,"tag":78,"props":135,"children":136},{"emptyLinePlaceholder":38},[137],{"type":50,"value":138},"\n",{"type":44,"tag":78,"props":140,"children":142},{"class":80,"line":141},3,[143,149,154,159,164,169,174],{"type":44,"tag":78,"props":144,"children":146},{"style":145},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[147],{"type":50,"value":148},"const",{"type":44,"tag":78,"props":150,"children":151},{"style":96},[152],{"type":50,"value":153}," novu ",{"type":44,"tag":78,"props":155,"children":156},{"style":90},[157],{"type":50,"value":158},"=",{"type":44,"tag":78,"props":160,"children":161},{"style":90},[162],{"type":50,"value":163}," new",{"type":44,"tag":78,"props":165,"children":167},{"style":166},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[168],{"type":50,"value":99},{"type":44,"tag":78,"props":170,"children":171},{"style":96},[172],{"type":50,"value":173},"(",{"type":44,"tag":78,"props":175,"children":176},{"style":90},[177],{"type":50,"value":178},"{\n",{"type":44,"tag":78,"props":180,"children":182},{"class":80,"line":181},4,[183,189,194,199,204,209,213,217],{"type":44,"tag":78,"props":184,"children":186},{"style":185},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[187],{"type":50,"value":188},"  secretKey",{"type":44,"tag":78,"props":190,"children":191},{"style":90},[192],{"type":50,"value":193},":",{"type":44,"tag":78,"props":195,"children":196},{"style":96},[197],{"type":50,"value":198}," process",{"type":44,"tag":78,"props":200,"children":201},{"style":90},[202],{"type":50,"value":203},".",{"type":44,"tag":78,"props":205,"children":206},{"style":96},[207],{"type":50,"value":208},"env",{"type":44,"tag":78,"props":210,"children":211},{"style":90},[212],{"type":50,"value":203},{"type":44,"tag":78,"props":214,"children":215},{"style":96},[216],{"type":50,"value":36},{"type":44,"tag":78,"props":218,"children":219},{"style":90},[220],{"type":50,"value":221},",\n",{"type":44,"tag":78,"props":223,"children":225},{"class":80,"line":224},5,[226,231,236],{"type":44,"tag":78,"props":227,"children":228},{"style":90},[229],{"type":50,"value":230},"}",{"type":44,"tag":78,"props":232,"children":233},{"style":96},[234],{"type":50,"value":235},")",{"type":44,"tag":78,"props":237,"children":238},{"style":90},[239],{"type":50,"value":130},{"type":44,"tag":59,"props":241,"children":243},{"id":242},"single-trigger",[244],{"type":50,"value":245},"Single Trigger",{"type":44,"tag":53,"props":247,"children":248},{},[249],{"type":50,"value":250},"Send a notification to one subscriber:",{"type":44,"tag":66,"props":252,"children":254},{"className":68,"code":253,"language":70,"meta":71,"style":71},"const result = await novu.trigger({\n  workflowId: \"welcome-email\",\n  to: \"subscriber-123\",\n  payload: {\n    userName: \"Jane\",\n    activationLink: \"https:\u002F\u002Fapp.example.com\u002Factivate\",\n  },\n});\n",[255],{"type":44,"tag":74,"props":256,"children":257},{"__ignoreMap":71},[258,301,330,359,376,405,435,444],{"type":44,"tag":78,"props":259,"children":260},{"class":80,"line":20},[261,265,270,274,279,284,288,293,297],{"type":44,"tag":78,"props":262,"children":263},{"style":145},[264],{"type":50,"value":148},{"type":44,"tag":78,"props":266,"children":267},{"style":96},[268],{"type":50,"value":269}," result ",{"type":44,"tag":78,"props":271,"children":272},{"style":90},[273],{"type":50,"value":158},{"type":44,"tag":78,"props":275,"children":276},{"style":84},[277],{"type":50,"value":278}," await",{"type":44,"tag":78,"props":280,"children":281},{"style":96},[282],{"type":50,"value":283}," novu",{"type":44,"tag":78,"props":285,"children":286},{"style":90},[287],{"type":50,"value":203},{"type":44,"tag":78,"props":289,"children":290},{"style":166},[291],{"type":50,"value":292},"trigger",{"type":44,"tag":78,"props":294,"children":295},{"style":96},[296],{"type":50,"value":173},{"type":44,"tag":78,"props":298,"children":299},{"style":90},[300],{"type":50,"value":178},{"type":44,"tag":78,"props":302,"children":303},{"class":80,"line":24},[304,309,313,317,322,326],{"type":44,"tag":78,"props":305,"children":306},{"style":185},[307],{"type":50,"value":308},"  workflowId",{"type":44,"tag":78,"props":310,"children":311},{"style":90},[312],{"type":50,"value":193},{"type":44,"tag":78,"props":314,"children":315},{"style":90},[316],{"type":50,"value":114},{"type":44,"tag":78,"props":318,"children":319},{"style":117},[320],{"type":50,"value":321},"welcome-email",{"type":44,"tag":78,"props":323,"children":324},{"style":90},[325],{"type":50,"value":125},{"type":44,"tag":78,"props":327,"children":328},{"style":90},[329],{"type":50,"value":221},{"type":44,"tag":78,"props":331,"children":332},{"class":80,"line":141},[333,338,342,346,351,355],{"type":44,"tag":78,"props":334,"children":335},{"style":185},[336],{"type":50,"value":337},"  to",{"type":44,"tag":78,"props":339,"children":340},{"style":90},[341],{"type":50,"value":193},{"type":44,"tag":78,"props":343,"children":344},{"style":90},[345],{"type":50,"value":114},{"type":44,"tag":78,"props":347,"children":348},{"style":117},[349],{"type":50,"value":350},"subscriber-123",{"type":44,"tag":78,"props":352,"children":353},{"style":90},[354],{"type":50,"value":125},{"type":44,"tag":78,"props":356,"children":357},{"style":90},[358],{"type":50,"value":221},{"type":44,"tag":78,"props":360,"children":361},{"class":80,"line":181},[362,367,371],{"type":44,"tag":78,"props":363,"children":364},{"style":185},[365],{"type":50,"value":366},"  payload",{"type":44,"tag":78,"props":368,"children":369},{"style":90},[370],{"type":50,"value":193},{"type":44,"tag":78,"props":372,"children":373},{"style":90},[374],{"type":50,"value":375}," {\n",{"type":44,"tag":78,"props":377,"children":378},{"class":80,"line":224},[379,384,388,392,397,401],{"type":44,"tag":78,"props":380,"children":381},{"style":185},[382],{"type":50,"value":383},"    userName",{"type":44,"tag":78,"props":385,"children":386},{"style":90},[387],{"type":50,"value":193},{"type":44,"tag":78,"props":389,"children":390},{"style":90},[391],{"type":50,"value":114},{"type":44,"tag":78,"props":393,"children":394},{"style":117},[395],{"type":50,"value":396},"Jane",{"type":44,"tag":78,"props":398,"children":399},{"style":90},[400],{"type":50,"value":125},{"type":44,"tag":78,"props":402,"children":403},{"style":90},[404],{"type":50,"value":221},{"type":44,"tag":78,"props":406,"children":408},{"class":80,"line":407},6,[409,414,418,422,427,431],{"type":44,"tag":78,"props":410,"children":411},{"style":185},[412],{"type":50,"value":413},"    activationLink",{"type":44,"tag":78,"props":415,"children":416},{"style":90},[417],{"type":50,"value":193},{"type":44,"tag":78,"props":419,"children":420},{"style":90},[421],{"type":50,"value":114},{"type":44,"tag":78,"props":423,"children":424},{"style":117},[425],{"type":50,"value":426},"https:\u002F\u002Fapp.example.com\u002Factivate",{"type":44,"tag":78,"props":428,"children":429},{"style":90},[430],{"type":50,"value":125},{"type":44,"tag":78,"props":432,"children":433},{"style":90},[434],{"type":50,"value":221},{"type":44,"tag":78,"props":436,"children":438},{"class":80,"line":437},7,[439],{"type":44,"tag":78,"props":440,"children":441},{"style":90},[442],{"type":50,"value":443},"  },\n",{"type":44,"tag":78,"props":445,"children":447},{"class":80,"line":446},8,[448,452,456],{"type":44,"tag":78,"props":449,"children":450},{"style":90},[451],{"type":50,"value":230},{"type":44,"tag":78,"props":453,"children":454},{"style":96},[455],{"type":50,"value":235},{"type":44,"tag":78,"props":457,"children":458},{"style":90},[459],{"type":50,"value":130},{"type":44,"tag":461,"props":462,"children":464},"h3",{"id":463},"trigger-with-inline-subscriber-creation",[465],{"type":50,"value":466},"Trigger with Inline Subscriber Creation",{"type":44,"tag":53,"props":468,"children":469},{},[470],{"type":50,"value":471},"If the subscriber doesn't exist yet, provide the full object — Novu upserts the subscriber:",{"type":44,"tag":66,"props":473,"children":475},{"className":68,"code":474,"language":70,"meta":71,"style":71},"const result = await novu.trigger({\n  workflowId: \"welcome-email\",\n  to: {\n    subscriberId: \"user-456\",\n    email: \"jane@example.com\",\n    firstName: \"Jane\",\n    lastName: \"Doe\",\n  },\n  payload: { userName: \"Jane\" },\n});\n",[476],{"type":44,"tag":74,"props":477,"children":478},{"__ignoreMap":71},[479,518,545,560,589,618,646,675,682,724],{"type":44,"tag":78,"props":480,"children":481},{"class":80,"line":20},[482,486,490,494,498,502,506,510,514],{"type":44,"tag":78,"props":483,"children":484},{"style":145},[485],{"type":50,"value":148},{"type":44,"tag":78,"props":487,"children":488},{"style":96},[489],{"type":50,"value":269},{"type":44,"tag":78,"props":491,"children":492},{"style":90},[493],{"type":50,"value":158},{"type":44,"tag":78,"props":495,"children":496},{"style":84},[497],{"type":50,"value":278},{"type":44,"tag":78,"props":499,"children":500},{"style":96},[501],{"type":50,"value":283},{"type":44,"tag":78,"props":503,"children":504},{"style":90},[505],{"type":50,"value":203},{"type":44,"tag":78,"props":507,"children":508},{"style":166},[509],{"type":50,"value":292},{"type":44,"tag":78,"props":511,"children":512},{"style":96},[513],{"type":50,"value":173},{"type":44,"tag":78,"props":515,"children":516},{"style":90},[517],{"type":50,"value":178},{"type":44,"tag":78,"props":519,"children":520},{"class":80,"line":24},[521,525,529,533,537,541],{"type":44,"tag":78,"props":522,"children":523},{"style":185},[524],{"type":50,"value":308},{"type":44,"tag":78,"props":526,"children":527},{"style":90},[528],{"type":50,"value":193},{"type":44,"tag":78,"props":530,"children":531},{"style":90},[532],{"type":50,"value":114},{"type":44,"tag":78,"props":534,"children":535},{"style":117},[536],{"type":50,"value":321},{"type":44,"tag":78,"props":538,"children":539},{"style":90},[540],{"type":50,"value":125},{"type":44,"tag":78,"props":542,"children":543},{"style":90},[544],{"type":50,"value":221},{"type":44,"tag":78,"props":546,"children":547},{"class":80,"line":141},[548,552,556],{"type":44,"tag":78,"props":549,"children":550},{"style":185},[551],{"type":50,"value":337},{"type":44,"tag":78,"props":553,"children":554},{"style":90},[555],{"type":50,"value":193},{"type":44,"tag":78,"props":557,"children":558},{"style":90},[559],{"type":50,"value":375},{"type":44,"tag":78,"props":561,"children":562},{"class":80,"line":181},[563,568,572,576,581,585],{"type":44,"tag":78,"props":564,"children":565},{"style":185},[566],{"type":50,"value":567},"    subscriberId",{"type":44,"tag":78,"props":569,"children":570},{"style":90},[571],{"type":50,"value":193},{"type":44,"tag":78,"props":573,"children":574},{"style":90},[575],{"type":50,"value":114},{"type":44,"tag":78,"props":577,"children":578},{"style":117},[579],{"type":50,"value":580},"user-456",{"type":44,"tag":78,"props":582,"children":583},{"style":90},[584],{"type":50,"value":125},{"type":44,"tag":78,"props":586,"children":587},{"style":90},[588],{"type":50,"value":221},{"type":44,"tag":78,"props":590,"children":591},{"class":80,"line":224},[592,597,601,605,610,614],{"type":44,"tag":78,"props":593,"children":594},{"style":185},[595],{"type":50,"value":596},"    email",{"type":44,"tag":78,"props":598,"children":599},{"style":90},[600],{"type":50,"value":193},{"type":44,"tag":78,"props":602,"children":603},{"style":90},[604],{"type":50,"value":114},{"type":44,"tag":78,"props":606,"children":607},{"style":117},[608],{"type":50,"value":609},"jane@example.com",{"type":44,"tag":78,"props":611,"children":612},{"style":90},[613],{"type":50,"value":125},{"type":44,"tag":78,"props":615,"children":616},{"style":90},[617],{"type":50,"value":221},{"type":44,"tag":78,"props":619,"children":620},{"class":80,"line":407},[621,626,630,634,638,642],{"type":44,"tag":78,"props":622,"children":623},{"style":185},[624],{"type":50,"value":625},"    firstName",{"type":44,"tag":78,"props":627,"children":628},{"style":90},[629],{"type":50,"value":193},{"type":44,"tag":78,"props":631,"children":632},{"style":90},[633],{"type":50,"value":114},{"type":44,"tag":78,"props":635,"children":636},{"style":117},[637],{"type":50,"value":396},{"type":44,"tag":78,"props":639,"children":640},{"style":90},[641],{"type":50,"value":125},{"type":44,"tag":78,"props":643,"children":644},{"style":90},[645],{"type":50,"value":221},{"type":44,"tag":78,"props":647,"children":648},{"class":80,"line":437},[649,654,658,662,667,671],{"type":44,"tag":78,"props":650,"children":651},{"style":185},[652],{"type":50,"value":653},"    lastName",{"type":44,"tag":78,"props":655,"children":656},{"style":90},[657],{"type":50,"value":193},{"type":44,"tag":78,"props":659,"children":660},{"style":90},[661],{"type":50,"value":114},{"type":44,"tag":78,"props":663,"children":664},{"style":117},[665],{"type":50,"value":666},"Doe",{"type":44,"tag":78,"props":668,"children":669},{"style":90},[670],{"type":50,"value":125},{"type":44,"tag":78,"props":672,"children":673},{"style":90},[674],{"type":50,"value":221},{"type":44,"tag":78,"props":676,"children":677},{"class":80,"line":446},[678],{"type":44,"tag":78,"props":679,"children":680},{"style":90},[681],{"type":50,"value":443},{"type":44,"tag":78,"props":683,"children":685},{"class":80,"line":684},9,[686,690,694,698,703,707,711,715,719],{"type":44,"tag":78,"props":687,"children":688},{"style":185},[689],{"type":50,"value":366},{"type":44,"tag":78,"props":691,"children":692},{"style":90},[693],{"type":50,"value":193},{"type":44,"tag":78,"props":695,"children":696},{"style":90},[697],{"type":50,"value":93},{"type":44,"tag":78,"props":699,"children":700},{"style":185},[701],{"type":50,"value":702}," userName",{"type":44,"tag":78,"props":704,"children":705},{"style":90},[706],{"type":50,"value":193},{"type":44,"tag":78,"props":708,"children":709},{"style":90},[710],{"type":50,"value":114},{"type":44,"tag":78,"props":712,"children":713},{"style":117},[714],{"type":50,"value":396},{"type":44,"tag":78,"props":716,"children":717},{"style":90},[718],{"type":50,"value":125},{"type":44,"tag":78,"props":720,"children":721},{"style":90},[722],{"type":50,"value":723}," },\n",{"type":44,"tag":78,"props":725,"children":727},{"class":80,"line":726},10,[728,732,736],{"type":44,"tag":78,"props":729,"children":730},{"style":90},[731],{"type":50,"value":230},{"type":44,"tag":78,"props":733,"children":734},{"style":96},[735],{"type":50,"value":235},{"type":44,"tag":78,"props":737,"children":738},{"style":90},[739],{"type":50,"value":130},{"type":44,"tag":461,"props":741,"children":743},{"id":742},"trigger-with-transaction-id",[744],{"type":50,"value":745},"Trigger with Transaction ID",{"type":44,"tag":53,"props":747,"children":748},{},[749,751,757],{"type":50,"value":750},"Use custom ",{"type":44,"tag":74,"props":752,"children":754},{"className":753},[],[755],{"type":50,"value":756},"transactionId",{"type":50,"value":758}," for idempotency:",{"type":44,"tag":66,"props":760,"children":762},{"className":68,"code":761,"language":70,"meta":71,"style":71},"const result = await novu.trigger({\n  workflowId: \"order-update\",\n  to: \"subscriber-123\",\n  payload: { orderId: \"order-789\" },\n  transactionId: \"unique-tx-id-abc\",\n});\n",[763],{"type":44,"tag":74,"props":764,"children":765},{"__ignoreMap":71},[766,805,833,860,901,930],{"type":44,"tag":78,"props":767,"children":768},{"class":80,"line":20},[769,773,777,781,785,789,793,797,801],{"type":44,"tag":78,"props":770,"children":771},{"style":145},[772],{"type":50,"value":148},{"type":44,"tag":78,"props":774,"children":775},{"style":96},[776],{"type":50,"value":269},{"type":44,"tag":78,"props":778,"children":779},{"style":90},[780],{"type":50,"value":158},{"type":44,"tag":78,"props":782,"children":783},{"style":84},[784],{"type":50,"value":278},{"type":44,"tag":78,"props":786,"children":787},{"style":96},[788],{"type":50,"value":283},{"type":44,"tag":78,"props":790,"children":791},{"style":90},[792],{"type":50,"value":203},{"type":44,"tag":78,"props":794,"children":795},{"style":166},[796],{"type":50,"value":292},{"type":44,"tag":78,"props":798,"children":799},{"style":96},[800],{"type":50,"value":173},{"type":44,"tag":78,"props":802,"children":803},{"style":90},[804],{"type":50,"value":178},{"type":44,"tag":78,"props":806,"children":807},{"class":80,"line":24},[808,812,816,820,825,829],{"type":44,"tag":78,"props":809,"children":810},{"style":185},[811],{"type":50,"value":308},{"type":44,"tag":78,"props":813,"children":814},{"style":90},[815],{"type":50,"value":193},{"type":44,"tag":78,"props":817,"children":818},{"style":90},[819],{"type":50,"value":114},{"type":44,"tag":78,"props":821,"children":822},{"style":117},[823],{"type":50,"value":824},"order-update",{"type":44,"tag":78,"props":826,"children":827},{"style":90},[828],{"type":50,"value":125},{"type":44,"tag":78,"props":830,"children":831},{"style":90},[832],{"type":50,"value":221},{"type":44,"tag":78,"props":834,"children":835},{"class":80,"line":141},[836,840,844,848,852,856],{"type":44,"tag":78,"props":837,"children":838},{"style":185},[839],{"type":50,"value":337},{"type":44,"tag":78,"props":841,"children":842},{"style":90},[843],{"type":50,"value":193},{"type":44,"tag":78,"props":845,"children":846},{"style":90},[847],{"type":50,"value":114},{"type":44,"tag":78,"props":849,"children":850},{"style":117},[851],{"type":50,"value":350},{"type":44,"tag":78,"props":853,"children":854},{"style":90},[855],{"type":50,"value":125},{"type":44,"tag":78,"props":857,"children":858},{"style":90},[859],{"type":50,"value":221},{"type":44,"tag":78,"props":861,"children":862},{"class":80,"line":181},[863,867,871,875,880,884,888,893,897],{"type":44,"tag":78,"props":864,"children":865},{"style":185},[866],{"type":50,"value":366},{"type":44,"tag":78,"props":868,"children":869},{"style":90},[870],{"type":50,"value":193},{"type":44,"tag":78,"props":872,"children":873},{"style":90},[874],{"type":50,"value":93},{"type":44,"tag":78,"props":876,"children":877},{"style":185},[878],{"type":50,"value":879}," orderId",{"type":44,"tag":78,"props":881,"children":882},{"style":90},[883],{"type":50,"value":193},{"type":44,"tag":78,"props":885,"children":886},{"style":90},[887],{"type":50,"value":114},{"type":44,"tag":78,"props":889,"children":890},{"style":117},[891],{"type":50,"value":892},"order-789",{"type":44,"tag":78,"props":894,"children":895},{"style":90},[896],{"type":50,"value":125},{"type":44,"tag":78,"props":898,"children":899},{"style":90},[900],{"type":50,"value":723},{"type":44,"tag":78,"props":902,"children":903},{"class":80,"line":224},[904,909,913,917,922,926],{"type":44,"tag":78,"props":905,"children":906},{"style":185},[907],{"type":50,"value":908},"  transactionId",{"type":44,"tag":78,"props":910,"children":911},{"style":90},[912],{"type":50,"value":193},{"type":44,"tag":78,"props":914,"children":915},{"style":90},[916],{"type":50,"value":114},{"type":44,"tag":78,"props":918,"children":919},{"style":117},[920],{"type":50,"value":921},"unique-tx-id-abc",{"type":44,"tag":78,"props":923,"children":924},{"style":90},[925],{"type":50,"value":125},{"type":44,"tag":78,"props":927,"children":928},{"style":90},[929],{"type":50,"value":221},{"type":44,"tag":78,"props":931,"children":932},{"class":80,"line":407},[933,937,941],{"type":44,"tag":78,"props":934,"children":935},{"style":90},[936],{"type":50,"value":230},{"type":44,"tag":78,"props":938,"children":939},{"style":96},[940],{"type":50,"value":235},{"type":44,"tag":78,"props":942,"children":943},{"style":90},[944],{"type":50,"value":130},{"type":44,"tag":59,"props":946,"children":948},{"id":947},"bulk-trigger",[949],{"type":50,"value":950},"Bulk Trigger",{"type":44,"tag":53,"props":952,"children":953},{},[954,956,962],{"type":50,"value":955},"Send up to ",{"type":44,"tag":957,"props":958,"children":959},"strong",{},[960],{"type":50,"value":961},"100 events",{"type":50,"value":963}," in a single request:",{"type":44,"tag":66,"props":965,"children":967},{"className":68,"code":966,"language":70,"meta":71,"style":71},"const result = await novu.triggerBulk({\n  events: [\n    {\n      workflowId: \"welcome-email\",\n      to: \"subscriber-1\",\n      payload: { userName: \"Alice\" },\n    },\n    {\n      workflowId: \"welcome-email\",\n      to: \"subscriber-2\",\n      payload: { userName: \"Bob\" },\n    },\n  ],\n});\n",[968],{"type":44,"tag":74,"props":969,"children":970},{"__ignoreMap":71},[971,1011,1028,1036,1064,1093,1134,1142,1149,1176,1204,1245,1253,1266],{"type":44,"tag":78,"props":972,"children":973},{"class":80,"line":20},[974,978,982,986,990,994,998,1003,1007],{"type":44,"tag":78,"props":975,"children":976},{"style":145},[977],{"type":50,"value":148},{"type":44,"tag":78,"props":979,"children":980},{"style":96},[981],{"type":50,"value":269},{"type":44,"tag":78,"props":983,"children":984},{"style":90},[985],{"type":50,"value":158},{"type":44,"tag":78,"props":987,"children":988},{"style":84},[989],{"type":50,"value":278},{"type":44,"tag":78,"props":991,"children":992},{"style":96},[993],{"type":50,"value":283},{"type":44,"tag":78,"props":995,"children":996},{"style":90},[997],{"type":50,"value":203},{"type":44,"tag":78,"props":999,"children":1000},{"style":166},[1001],{"type":50,"value":1002},"triggerBulk",{"type":44,"tag":78,"props":1004,"children":1005},{"style":96},[1006],{"type":50,"value":173},{"type":44,"tag":78,"props":1008,"children":1009},{"style":90},[1010],{"type":50,"value":178},{"type":44,"tag":78,"props":1012,"children":1013},{"class":80,"line":24},[1014,1019,1023],{"type":44,"tag":78,"props":1015,"children":1016},{"style":185},[1017],{"type":50,"value":1018},"  events",{"type":44,"tag":78,"props":1020,"children":1021},{"style":90},[1022],{"type":50,"value":193},{"type":44,"tag":78,"props":1024,"children":1025},{"style":96},[1026],{"type":50,"value":1027}," [\n",{"type":44,"tag":78,"props":1029,"children":1030},{"class":80,"line":141},[1031],{"type":44,"tag":78,"props":1032,"children":1033},{"style":90},[1034],{"type":50,"value":1035},"    {\n",{"type":44,"tag":78,"props":1037,"children":1038},{"class":80,"line":181},[1039,1044,1048,1052,1056,1060],{"type":44,"tag":78,"props":1040,"children":1041},{"style":185},[1042],{"type":50,"value":1043},"      workflowId",{"type":44,"tag":78,"props":1045,"children":1046},{"style":90},[1047],{"type":50,"value":193},{"type":44,"tag":78,"props":1049,"children":1050},{"style":90},[1051],{"type":50,"value":114},{"type":44,"tag":78,"props":1053,"children":1054},{"style":117},[1055],{"type":50,"value":321},{"type":44,"tag":78,"props":1057,"children":1058},{"style":90},[1059],{"type":50,"value":125},{"type":44,"tag":78,"props":1061,"children":1062},{"style":90},[1063],{"type":50,"value":221},{"type":44,"tag":78,"props":1065,"children":1066},{"class":80,"line":224},[1067,1072,1076,1080,1085,1089],{"type":44,"tag":78,"props":1068,"children":1069},{"style":185},[1070],{"type":50,"value":1071},"      to",{"type":44,"tag":78,"props":1073,"children":1074},{"style":90},[1075],{"type":50,"value":193},{"type":44,"tag":78,"props":1077,"children":1078},{"style":90},[1079],{"type":50,"value":114},{"type":44,"tag":78,"props":1081,"children":1082},{"style":117},[1083],{"type":50,"value":1084},"subscriber-1",{"type":44,"tag":78,"props":1086,"children":1087},{"style":90},[1088],{"type":50,"value":125},{"type":44,"tag":78,"props":1090,"children":1091},{"style":90},[1092],{"type":50,"value":221},{"type":44,"tag":78,"props":1094,"children":1095},{"class":80,"line":407},[1096,1101,1105,1109,1113,1117,1121,1126,1130],{"type":44,"tag":78,"props":1097,"children":1098},{"style":185},[1099],{"type":50,"value":1100},"      payload",{"type":44,"tag":78,"props":1102,"children":1103},{"style":90},[1104],{"type":50,"value":193},{"type":44,"tag":78,"props":1106,"children":1107},{"style":90},[1108],{"type":50,"value":93},{"type":44,"tag":78,"props":1110,"children":1111},{"style":185},[1112],{"type":50,"value":702},{"type":44,"tag":78,"props":1114,"children":1115},{"style":90},[1116],{"type":50,"value":193},{"type":44,"tag":78,"props":1118,"children":1119},{"style":90},[1120],{"type":50,"value":114},{"type":44,"tag":78,"props":1122,"children":1123},{"style":117},[1124],{"type":50,"value":1125},"Alice",{"type":44,"tag":78,"props":1127,"children":1128},{"style":90},[1129],{"type":50,"value":125},{"type":44,"tag":78,"props":1131,"children":1132},{"style":90},[1133],{"type":50,"value":723},{"type":44,"tag":78,"props":1135,"children":1136},{"class":80,"line":437},[1137],{"type":44,"tag":78,"props":1138,"children":1139},{"style":90},[1140],{"type":50,"value":1141},"    },\n",{"type":44,"tag":78,"props":1143,"children":1144},{"class":80,"line":446},[1145],{"type":44,"tag":78,"props":1146,"children":1147},{"style":90},[1148],{"type":50,"value":1035},{"type":44,"tag":78,"props":1150,"children":1151},{"class":80,"line":684},[1152,1156,1160,1164,1168,1172],{"type":44,"tag":78,"props":1153,"children":1154},{"style":185},[1155],{"type":50,"value":1043},{"type":44,"tag":78,"props":1157,"children":1158},{"style":90},[1159],{"type":50,"value":193},{"type":44,"tag":78,"props":1161,"children":1162},{"style":90},[1163],{"type":50,"value":114},{"type":44,"tag":78,"props":1165,"children":1166},{"style":117},[1167],{"type":50,"value":321},{"type":44,"tag":78,"props":1169,"children":1170},{"style":90},[1171],{"type":50,"value":125},{"type":44,"tag":78,"props":1173,"children":1174},{"style":90},[1175],{"type":50,"value":221},{"type":44,"tag":78,"props":1177,"children":1178},{"class":80,"line":726},[1179,1183,1187,1191,1196,1200],{"type":44,"tag":78,"props":1180,"children":1181},{"style":185},[1182],{"type":50,"value":1071},{"type":44,"tag":78,"props":1184,"children":1185},{"style":90},[1186],{"type":50,"value":193},{"type":44,"tag":78,"props":1188,"children":1189},{"style":90},[1190],{"type":50,"value":114},{"type":44,"tag":78,"props":1192,"children":1193},{"style":117},[1194],{"type":50,"value":1195},"subscriber-2",{"type":44,"tag":78,"props":1197,"children":1198},{"style":90},[1199],{"type":50,"value":125},{"type":44,"tag":78,"props":1201,"children":1202},{"style":90},[1203],{"type":50,"value":221},{"type":44,"tag":78,"props":1205,"children":1207},{"class":80,"line":1206},11,[1208,1212,1216,1220,1224,1228,1232,1237,1241],{"type":44,"tag":78,"props":1209,"children":1210},{"style":185},[1211],{"type":50,"value":1100},{"type":44,"tag":78,"props":1213,"children":1214},{"style":90},[1215],{"type":50,"value":193},{"type":44,"tag":78,"props":1217,"children":1218},{"style":90},[1219],{"type":50,"value":93},{"type":44,"tag":78,"props":1221,"children":1222},{"style":185},[1223],{"type":50,"value":702},{"type":44,"tag":78,"props":1225,"children":1226},{"style":90},[1227],{"type":50,"value":193},{"type":44,"tag":78,"props":1229,"children":1230},{"style":90},[1231],{"type":50,"value":114},{"type":44,"tag":78,"props":1233,"children":1234},{"style":117},[1235],{"type":50,"value":1236},"Bob",{"type":44,"tag":78,"props":1238,"children":1239},{"style":90},[1240],{"type":50,"value":125},{"type":44,"tag":78,"props":1242,"children":1243},{"style":90},[1244],{"type":50,"value":723},{"type":44,"tag":78,"props":1246,"children":1248},{"class":80,"line":1247},12,[1249],{"type":44,"tag":78,"props":1250,"children":1251},{"style":90},[1252],{"type":50,"value":1141},{"type":44,"tag":78,"props":1254,"children":1256},{"class":80,"line":1255},13,[1257,1262],{"type":44,"tag":78,"props":1258,"children":1259},{"style":96},[1260],{"type":50,"value":1261},"  ]",{"type":44,"tag":78,"props":1263,"children":1264},{"style":90},[1265],{"type":50,"value":221},{"type":44,"tag":78,"props":1267,"children":1269},{"class":80,"line":1268},14,[1270,1274,1278],{"type":44,"tag":78,"props":1271,"children":1272},{"style":90},[1273],{"type":50,"value":230},{"type":44,"tag":78,"props":1275,"children":1276},{"style":96},[1277],{"type":50,"value":235},{"type":44,"tag":78,"props":1279,"children":1280},{"style":90},[1281],{"type":50,"value":130},{"type":44,"tag":59,"props":1283,"children":1285},{"id":1284},"broadcast",[1286],{"type":50,"value":1287},"Broadcast",{"type":44,"tag":53,"props":1289,"children":1290},{},[1291,1293,1298],{"type":50,"value":1292},"Send to ",{"type":44,"tag":957,"props":1294,"children":1295},{},[1296],{"type":50,"value":1297},"all subscribers",{"type":50,"value":1299}," in the environment:",{"type":44,"tag":66,"props":1301,"children":1303},{"className":68,"code":1302,"language":70,"meta":71,"style":71},"const result = await novu.triggerBroadcast({\n  \u002F\u002F here name field is for workflowId\n  name: \"system-announcement\",\n  payload: {\n    message: \"Scheduled maintenance at 2am UTC\",\n  },\n});\n",[1304],{"type":44,"tag":74,"props":1305,"children":1306},{"__ignoreMap":71},[1307,1347,1356,1385,1400,1429,1436],{"type":44,"tag":78,"props":1308,"children":1309},{"class":80,"line":20},[1310,1314,1318,1322,1326,1330,1334,1339,1343],{"type":44,"tag":78,"props":1311,"children":1312},{"style":145},[1313],{"type":50,"value":148},{"type":44,"tag":78,"props":1315,"children":1316},{"style":96},[1317],{"type":50,"value":269},{"type":44,"tag":78,"props":1319,"children":1320},{"style":90},[1321],{"type":50,"value":158},{"type":44,"tag":78,"props":1323,"children":1324},{"style":84},[1325],{"type":50,"value":278},{"type":44,"tag":78,"props":1327,"children":1328},{"style":96},[1329],{"type":50,"value":283},{"type":44,"tag":78,"props":1331,"children":1332},{"style":90},[1333],{"type":50,"value":203},{"type":44,"tag":78,"props":1335,"children":1336},{"style":166},[1337],{"type":50,"value":1338},"triggerBroadcast",{"type":44,"tag":78,"props":1340,"children":1341},{"style":96},[1342],{"type":50,"value":173},{"type":44,"tag":78,"props":1344,"children":1345},{"style":90},[1346],{"type":50,"value":178},{"type":44,"tag":78,"props":1348,"children":1349},{"class":80,"line":24},[1350],{"type":44,"tag":78,"props":1351,"children":1353},{"style":1352},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1354],{"type":50,"value":1355},"  \u002F\u002F here name field is for workflowId\n",{"type":44,"tag":78,"props":1357,"children":1358},{"class":80,"line":141},[1359,1364,1368,1372,1377,1381],{"type":44,"tag":78,"props":1360,"children":1361},{"style":185},[1362],{"type":50,"value":1363},"  name",{"type":44,"tag":78,"props":1365,"children":1366},{"style":90},[1367],{"type":50,"value":193},{"type":44,"tag":78,"props":1369,"children":1370},{"style":90},[1371],{"type":50,"value":114},{"type":44,"tag":78,"props":1373,"children":1374},{"style":117},[1375],{"type":50,"value":1376},"system-announcement",{"type":44,"tag":78,"props":1378,"children":1379},{"style":90},[1380],{"type":50,"value":125},{"type":44,"tag":78,"props":1382,"children":1383},{"style":90},[1384],{"type":50,"value":221},{"type":44,"tag":78,"props":1386,"children":1387},{"class":80,"line":181},[1388,1392,1396],{"type":44,"tag":78,"props":1389,"children":1390},{"style":185},[1391],{"type":50,"value":366},{"type":44,"tag":78,"props":1393,"children":1394},{"style":90},[1395],{"type":50,"value":193},{"type":44,"tag":78,"props":1397,"children":1398},{"style":90},[1399],{"type":50,"value":375},{"type":44,"tag":78,"props":1401,"children":1402},{"class":80,"line":224},[1403,1408,1412,1416,1421,1425],{"type":44,"tag":78,"props":1404,"children":1405},{"style":185},[1406],{"type":50,"value":1407},"    message",{"type":44,"tag":78,"props":1409,"children":1410},{"style":90},[1411],{"type":50,"value":193},{"type":44,"tag":78,"props":1413,"children":1414},{"style":90},[1415],{"type":50,"value":114},{"type":44,"tag":78,"props":1417,"children":1418},{"style":117},[1419],{"type":50,"value":1420},"Scheduled maintenance at 2am UTC",{"type":44,"tag":78,"props":1422,"children":1423},{"style":90},[1424],{"type":50,"value":125},{"type":44,"tag":78,"props":1426,"children":1427},{"style":90},[1428],{"type":50,"value":221},{"type":44,"tag":78,"props":1430,"children":1431},{"class":80,"line":407},[1432],{"type":44,"tag":78,"props":1433,"children":1434},{"style":90},[1435],{"type":50,"value":443},{"type":44,"tag":78,"props":1437,"children":1438},{"class":80,"line":437},[1439,1443,1447],{"type":44,"tag":78,"props":1440,"children":1441},{"style":90},[1442],{"type":50,"value":230},{"type":44,"tag":78,"props":1444,"children":1445},{"style":96},[1446],{"type":50,"value":235},{"type":44,"tag":78,"props":1448,"children":1449},{"style":90},[1450],{"type":50,"value":130},{"type":44,"tag":59,"props":1452,"children":1454},{"id":1453},"topic-based-trigger",[1455],{"type":50,"value":1456},"Topic-Based Trigger",{"type":44,"tag":53,"props":1458,"children":1459},{},[1460],{"type":50,"value":1461},"Send to all subscribers in a topic:",{"type":44,"tag":66,"props":1463,"children":1465},{"className":68,"code":1464,"language":70,"meta":71,"style":71},"const result = await novu.trigger({\n  workflowId: \"project-update\",\n  to: [{\n    type: \"Topic\",\n    topicKey: \"project-alpha-watchers\",\n  }],\n  payload: { update: \"New release deployed\" },\n});\n",[1466],{"type":44,"tag":74,"props":1467,"children":1468},{"__ignoreMap":71},[1469,1508,1536,1556,1585,1614,1631,1672],{"type":44,"tag":78,"props":1470,"children":1471},{"class":80,"line":20},[1472,1476,1480,1484,1488,1492,1496,1500,1504],{"type":44,"tag":78,"props":1473,"children":1474},{"style":145},[1475],{"type":50,"value":148},{"type":44,"tag":78,"props":1477,"children":1478},{"style":96},[1479],{"type":50,"value":269},{"type":44,"tag":78,"props":1481,"children":1482},{"style":90},[1483],{"type":50,"value":158},{"type":44,"tag":78,"props":1485,"children":1486},{"style":84},[1487],{"type":50,"value":278},{"type":44,"tag":78,"props":1489,"children":1490},{"style":96},[1491],{"type":50,"value":283},{"type":44,"tag":78,"props":1493,"children":1494},{"style":90},[1495],{"type":50,"value":203},{"type":44,"tag":78,"props":1497,"children":1498},{"style":166},[1499],{"type":50,"value":292},{"type":44,"tag":78,"props":1501,"children":1502},{"style":96},[1503],{"type":50,"value":173},{"type":44,"tag":78,"props":1505,"children":1506},{"style":90},[1507],{"type":50,"value":178},{"type":44,"tag":78,"props":1509,"children":1510},{"class":80,"line":24},[1511,1515,1519,1523,1528,1532],{"type":44,"tag":78,"props":1512,"children":1513},{"style":185},[1514],{"type":50,"value":308},{"type":44,"tag":78,"props":1516,"children":1517},{"style":90},[1518],{"type":50,"value":193},{"type":44,"tag":78,"props":1520,"children":1521},{"style":90},[1522],{"type":50,"value":114},{"type":44,"tag":78,"props":1524,"children":1525},{"style":117},[1526],{"type":50,"value":1527},"project-update",{"type":44,"tag":78,"props":1529,"children":1530},{"style":90},[1531],{"type":50,"value":125},{"type":44,"tag":78,"props":1533,"children":1534},{"style":90},[1535],{"type":50,"value":221},{"type":44,"tag":78,"props":1537,"children":1538},{"class":80,"line":141},[1539,1543,1547,1552],{"type":44,"tag":78,"props":1540,"children":1541},{"style":185},[1542],{"type":50,"value":337},{"type":44,"tag":78,"props":1544,"children":1545},{"style":90},[1546],{"type":50,"value":193},{"type":44,"tag":78,"props":1548,"children":1549},{"style":96},[1550],{"type":50,"value":1551}," [",{"type":44,"tag":78,"props":1553,"children":1554},{"style":90},[1555],{"type":50,"value":178},{"type":44,"tag":78,"props":1557,"children":1558},{"class":80,"line":181},[1559,1564,1568,1572,1577,1581],{"type":44,"tag":78,"props":1560,"children":1561},{"style":185},[1562],{"type":50,"value":1563},"    type",{"type":44,"tag":78,"props":1565,"children":1566},{"style":90},[1567],{"type":50,"value":193},{"type":44,"tag":78,"props":1569,"children":1570},{"style":90},[1571],{"type":50,"value":114},{"type":44,"tag":78,"props":1573,"children":1574},{"style":117},[1575],{"type":50,"value":1576},"Topic",{"type":44,"tag":78,"props":1578,"children":1579},{"style":90},[1580],{"type":50,"value":125},{"type":44,"tag":78,"props":1582,"children":1583},{"style":90},[1584],{"type":50,"value":221},{"type":44,"tag":78,"props":1586,"children":1587},{"class":80,"line":224},[1588,1593,1597,1601,1606,1610],{"type":44,"tag":78,"props":1589,"children":1590},{"style":185},[1591],{"type":50,"value":1592},"    topicKey",{"type":44,"tag":78,"props":1594,"children":1595},{"style":90},[1596],{"type":50,"value":193},{"type":44,"tag":78,"props":1598,"children":1599},{"style":90},[1600],{"type":50,"value":114},{"type":44,"tag":78,"props":1602,"children":1603},{"style":117},[1604],{"type":50,"value":1605},"project-alpha-watchers",{"type":44,"tag":78,"props":1607,"children":1608},{"style":90},[1609],{"type":50,"value":125},{"type":44,"tag":78,"props":1611,"children":1612},{"style":90},[1613],{"type":50,"value":221},{"type":44,"tag":78,"props":1615,"children":1616},{"class":80,"line":407},[1617,1622,1627],{"type":44,"tag":78,"props":1618,"children":1619},{"style":90},[1620],{"type":50,"value":1621},"  }",{"type":44,"tag":78,"props":1623,"children":1624},{"style":96},[1625],{"type":50,"value":1626},"]",{"type":44,"tag":78,"props":1628,"children":1629},{"style":90},[1630],{"type":50,"value":221},{"type":44,"tag":78,"props":1632,"children":1633},{"class":80,"line":437},[1634,1638,1642,1646,1651,1655,1659,1664,1668],{"type":44,"tag":78,"props":1635,"children":1636},{"style":185},[1637],{"type":50,"value":366},{"type":44,"tag":78,"props":1639,"children":1640},{"style":90},[1641],{"type":50,"value":193},{"type":44,"tag":78,"props":1643,"children":1644},{"style":90},[1645],{"type":50,"value":93},{"type":44,"tag":78,"props":1647,"children":1648},{"style":185},[1649],{"type":50,"value":1650}," update",{"type":44,"tag":78,"props":1652,"children":1653},{"style":90},[1654],{"type":50,"value":193},{"type":44,"tag":78,"props":1656,"children":1657},{"style":90},[1658],{"type":50,"value":114},{"type":44,"tag":78,"props":1660,"children":1661},{"style":117},[1662],{"type":50,"value":1663},"New release deployed",{"type":44,"tag":78,"props":1665,"children":1666},{"style":90},[1667],{"type":50,"value":125},{"type":44,"tag":78,"props":1669,"children":1670},{"style":90},[1671],{"type":50,"value":723},{"type":44,"tag":78,"props":1673,"children":1674},{"class":80,"line":446},[1675,1679,1683],{"type":44,"tag":78,"props":1676,"children":1677},{"style":90},[1678],{"type":50,"value":230},{"type":44,"tag":78,"props":1680,"children":1681},{"style":96},[1682],{"type":50,"value":235},{"type":44,"tag":78,"props":1684,"children":1685},{"style":90},[1686],{"type":50,"value":130},{"type":44,"tag":59,"props":1688,"children":1690},{"id":1689},"cancel-a-trigger",[1691],{"type":50,"value":1692},"Cancel a Trigger",{"type":44,"tag":53,"props":1694,"children":1695},{},[1696,1698,1703],{"type":50,"value":1697},"Cancel delayed or digested notifications using the ",{"type":44,"tag":74,"props":1699,"children":1701},{"className":1700},[],[1702],{"type":50,"value":756},{"type":50,"value":193},{"type":44,"tag":66,"props":1705,"children":1707},{"className":68,"code":1706,"language":70,"meta":71,"style":71},"await novu.cancel(\"unique-tx-id-abc\");\n",[1708],{"type":44,"tag":74,"props":1709,"children":1710},{"__ignoreMap":71},[1711],{"type":44,"tag":78,"props":1712,"children":1713},{"class":80,"line":20},[1714,1719,1723,1727,1732,1736,1740,1744,1748,1752],{"type":44,"tag":78,"props":1715,"children":1716},{"style":84},[1717],{"type":50,"value":1718},"await",{"type":44,"tag":78,"props":1720,"children":1721},{"style":96},[1722],{"type":50,"value":283},{"type":44,"tag":78,"props":1724,"children":1725},{"style":90},[1726],{"type":50,"value":203},{"type":44,"tag":78,"props":1728,"children":1729},{"style":166},[1730],{"type":50,"value":1731},"cancel",{"type":44,"tag":78,"props":1733,"children":1734},{"style":96},[1735],{"type":50,"value":173},{"type":44,"tag":78,"props":1737,"children":1738},{"style":90},[1739],{"type":50,"value":125},{"type":44,"tag":78,"props":1741,"children":1742},{"style":117},[1743],{"type":50,"value":921},{"type":44,"tag":78,"props":1745,"children":1746},{"style":90},[1747],{"type":50,"value":125},{"type":44,"tag":78,"props":1749,"children":1750},{"style":96},[1751],{"type":50,"value":235},{"type":44,"tag":78,"props":1753,"children":1754},{"style":90},[1755],{"type":50,"value":130},{"type":44,"tag":59,"props":1757,"children":1759},{"id":1758},"trigger-parameters",[1760],{"type":50,"value":1761},"Trigger Parameters",{"type":44,"tag":1763,"props":1764,"children":1765},"table",{},[1766,1790],{"type":44,"tag":1767,"props":1768,"children":1769},"thead",{},[1770],{"type":44,"tag":1771,"props":1772,"children":1773},"tr",{},[1774,1780,1785],{"type":44,"tag":1775,"props":1776,"children":1777},"th",{},[1778],{"type":50,"value":1779},"Parameter",{"type":44,"tag":1775,"props":1781,"children":1782},{},[1783],{"type":50,"value":1784},"Required",{"type":44,"tag":1775,"props":1786,"children":1787},{},[1788],{"type":50,"value":1789},"Description",{"type":44,"tag":1791,"props":1792,"children":1793},"tbody",{},[1794,1817,1838,1866,1887,1907,1928],{"type":44,"tag":1771,"props":1795,"children":1796},{},[1797,1807,1812],{"type":44,"tag":1798,"props":1799,"children":1800},"td",{},[1801],{"type":44,"tag":74,"props":1802,"children":1804},{"className":1803},[],[1805],{"type":50,"value":1806},"workflowId",{"type":44,"tag":1798,"props":1808,"children":1809},{},[1810],{"type":50,"value":1811},"Yes",{"type":44,"tag":1798,"props":1813,"children":1814},{},[1815],{"type":50,"value":1816},"The workflow identifier (not display name)",{"type":44,"tag":1771,"props":1818,"children":1819},{},[1820,1829,1833],{"type":44,"tag":1798,"props":1821,"children":1822},{},[1823],{"type":44,"tag":74,"props":1824,"children":1826},{"className":1825},[],[1827],{"type":50,"value":1828},"to",{"type":44,"tag":1798,"props":1830,"children":1831},{},[1832],{"type":50,"value":1811},{"type":44,"tag":1798,"props":1834,"children":1835},{},[1836],{"type":50,"value":1837},"Subscriber ID (string), subscriber object, or topic target",{"type":44,"tag":1771,"props":1839,"children":1840},{},[1841,1850,1855],{"type":44,"tag":1798,"props":1842,"children":1843},{},[1844],{"type":44,"tag":74,"props":1845,"children":1847},{"className":1846},[],[1848],{"type":50,"value":1849},"payload",{"type":44,"tag":1798,"props":1851,"children":1852},{},[1853],{"type":50,"value":1854},"No",{"type":44,"tag":1798,"props":1856,"children":1857},{},[1858,1860],{"type":50,"value":1859},"Data passed to the workflow, validated against ",{"type":44,"tag":74,"props":1861,"children":1863},{"className":1862},[],[1864],{"type":50,"value":1865},"payloadSchema",{"type":44,"tag":1771,"props":1867,"children":1868},{},[1869,1878,1882],{"type":44,"tag":1798,"props":1870,"children":1871},{},[1872],{"type":44,"tag":74,"props":1873,"children":1875},{"className":1874},[],[1876],{"type":50,"value":1877},"overrides",{"type":44,"tag":1798,"props":1879,"children":1880},{},[1881],{"type":50,"value":1854},{"type":44,"tag":1798,"props":1883,"children":1884},{},[1885],{"type":50,"value":1886},"Provider-specific overrides per channel",{"type":44,"tag":1771,"props":1888,"children":1889},{},[1890,1898,1902],{"type":44,"tag":1798,"props":1891,"children":1892},{},[1893],{"type":44,"tag":74,"props":1894,"children":1896},{"className":1895},[],[1897],{"type":50,"value":756},{"type":44,"tag":1798,"props":1899,"children":1900},{},[1901],{"type":50,"value":1854},{"type":44,"tag":1798,"props":1903,"children":1904},{},[1905],{"type":50,"value":1906},"Unique ID for idempotency and cancellation",{"type":44,"tag":1771,"props":1908,"children":1909},{},[1910,1919,1923],{"type":44,"tag":1798,"props":1911,"children":1912},{},[1913],{"type":44,"tag":74,"props":1914,"children":1916},{"className":1915},[],[1917],{"type":50,"value":1918},"actor",{"type":44,"tag":1798,"props":1920,"children":1921},{},[1922],{"type":50,"value":1854},{"type":44,"tag":1798,"props":1924,"children":1925},{},[1926],{"type":50,"value":1927},"Subscriber ID or object representing who triggered the action",{"type":44,"tag":1771,"props":1929,"children":1930},{},[1931,1940,1944],{"type":44,"tag":1798,"props":1932,"children":1933},{},[1934],{"type":44,"tag":74,"props":1935,"children":1937},{"className":1936},[],[1938],{"type":50,"value":1939},"context",{"type":44,"tag":1798,"props":1941,"children":1942},{},[1943],{"type":50,"value":1854},{"type":44,"tag":1798,"props":1945,"children":1946},{},[1947],{"type":50,"value":1948},"Key-value pairs for multi-tenancy \u002F organizational context",{"type":44,"tag":59,"props":1950,"children":1951},{"id":1877},[1952],{"type":50,"value":1953},"Overrides",{"type":44,"tag":53,"props":1955,"children":1956},{},[1957],{"type":50,"value":1958},"Override provider-specific settings per trigger:",{"type":44,"tag":66,"props":1960,"children":1962},{"className":68,"code":1961,"language":70,"meta":71,"style":71},"const result = await novu.trigger({\n  workflowId: \"alert\",\n  to: \"subscriber-123\",\n  payload: { message: \"Server down\" },\n  overrides: {\n    \"providers\": {\n      \"sendgrid\": {\n        from: \"alerts@example.com\",\n        cc: [\"user1@example.com\", \"user2@example.com\"],\n        replyTo: \"support@example.com\",\n      }\n    }\n  },\n});\n",[1963],{"type":44,"tag":74,"props":1964,"children":1965},{"__ignoreMap":71},[1966,2005,2033,2060,2101,2117,2142,2167,2196,2251,2280,2288,2296,2303],{"type":44,"tag":78,"props":1967,"children":1968},{"class":80,"line":20},[1969,1973,1977,1981,1985,1989,1993,1997,2001],{"type":44,"tag":78,"props":1970,"children":1971},{"style":145},[1972],{"type":50,"value":148},{"type":44,"tag":78,"props":1974,"children":1975},{"style":96},[1976],{"type":50,"value":269},{"type":44,"tag":78,"props":1978,"children":1979},{"style":90},[1980],{"type":50,"value":158},{"type":44,"tag":78,"props":1982,"children":1983},{"style":84},[1984],{"type":50,"value":278},{"type":44,"tag":78,"props":1986,"children":1987},{"style":96},[1988],{"type":50,"value":283},{"type":44,"tag":78,"props":1990,"children":1991},{"style":90},[1992],{"type":50,"value":203},{"type":44,"tag":78,"props":1994,"children":1995},{"style":166},[1996],{"type":50,"value":292},{"type":44,"tag":78,"props":1998,"children":1999},{"style":96},[2000],{"type":50,"value":173},{"type":44,"tag":78,"props":2002,"children":2003},{"style":90},[2004],{"type":50,"value":178},{"type":44,"tag":78,"props":2006,"children":2007},{"class":80,"line":24},[2008,2012,2016,2020,2025,2029],{"type":44,"tag":78,"props":2009,"children":2010},{"style":185},[2011],{"type":50,"value":308},{"type":44,"tag":78,"props":2013,"children":2014},{"style":90},[2015],{"type":50,"value":193},{"type":44,"tag":78,"props":2017,"children":2018},{"style":90},[2019],{"type":50,"value":114},{"type":44,"tag":78,"props":2021,"children":2022},{"style":117},[2023],{"type":50,"value":2024},"alert",{"type":44,"tag":78,"props":2026,"children":2027},{"style":90},[2028],{"type":50,"value":125},{"type":44,"tag":78,"props":2030,"children":2031},{"style":90},[2032],{"type":50,"value":221},{"type":44,"tag":78,"props":2034,"children":2035},{"class":80,"line":141},[2036,2040,2044,2048,2052,2056],{"type":44,"tag":78,"props":2037,"children":2038},{"style":185},[2039],{"type":50,"value":337},{"type":44,"tag":78,"props":2041,"children":2042},{"style":90},[2043],{"type":50,"value":193},{"type":44,"tag":78,"props":2045,"children":2046},{"style":90},[2047],{"type":50,"value":114},{"type":44,"tag":78,"props":2049,"children":2050},{"style":117},[2051],{"type":50,"value":350},{"type":44,"tag":78,"props":2053,"children":2054},{"style":90},[2055],{"type":50,"value":125},{"type":44,"tag":78,"props":2057,"children":2058},{"style":90},[2059],{"type":50,"value":221},{"type":44,"tag":78,"props":2061,"children":2062},{"class":80,"line":181},[2063,2067,2071,2075,2080,2084,2088,2093,2097],{"type":44,"tag":78,"props":2064,"children":2065},{"style":185},[2066],{"type":50,"value":366},{"type":44,"tag":78,"props":2068,"children":2069},{"style":90},[2070],{"type":50,"value":193},{"type":44,"tag":78,"props":2072,"children":2073},{"style":90},[2074],{"type":50,"value":93},{"type":44,"tag":78,"props":2076,"children":2077},{"style":185},[2078],{"type":50,"value":2079}," message",{"type":44,"tag":78,"props":2081,"children":2082},{"style":90},[2083],{"type":50,"value":193},{"type":44,"tag":78,"props":2085,"children":2086},{"style":90},[2087],{"type":50,"value":114},{"type":44,"tag":78,"props":2089,"children":2090},{"style":117},[2091],{"type":50,"value":2092},"Server down",{"type":44,"tag":78,"props":2094,"children":2095},{"style":90},[2096],{"type":50,"value":125},{"type":44,"tag":78,"props":2098,"children":2099},{"style":90},[2100],{"type":50,"value":723},{"type":44,"tag":78,"props":2102,"children":2103},{"class":80,"line":224},[2104,2109,2113],{"type":44,"tag":78,"props":2105,"children":2106},{"style":185},[2107],{"type":50,"value":2108},"  overrides",{"type":44,"tag":78,"props":2110,"children":2111},{"style":90},[2112],{"type":50,"value":193},{"type":44,"tag":78,"props":2114,"children":2115},{"style":90},[2116],{"type":50,"value":375},{"type":44,"tag":78,"props":2118,"children":2119},{"class":80,"line":407},[2120,2125,2130,2134,2138],{"type":44,"tag":78,"props":2121,"children":2122},{"style":90},[2123],{"type":50,"value":2124},"    \"",{"type":44,"tag":78,"props":2126,"children":2127},{"style":185},[2128],{"type":50,"value":2129},"providers",{"type":44,"tag":78,"props":2131,"children":2132},{"style":90},[2133],{"type":50,"value":125},{"type":44,"tag":78,"props":2135,"children":2136},{"style":90},[2137],{"type":50,"value":193},{"type":44,"tag":78,"props":2139,"children":2140},{"style":90},[2141],{"type":50,"value":375},{"type":44,"tag":78,"props":2143,"children":2144},{"class":80,"line":437},[2145,2150,2155,2159,2163],{"type":44,"tag":78,"props":2146,"children":2147},{"style":90},[2148],{"type":50,"value":2149},"      \"",{"type":44,"tag":78,"props":2151,"children":2152},{"style":185},[2153],{"type":50,"value":2154},"sendgrid",{"type":44,"tag":78,"props":2156,"children":2157},{"style":90},[2158],{"type":50,"value":125},{"type":44,"tag":78,"props":2160,"children":2161},{"style":90},[2162],{"type":50,"value":193},{"type":44,"tag":78,"props":2164,"children":2165},{"style":90},[2166],{"type":50,"value":375},{"type":44,"tag":78,"props":2168,"children":2169},{"class":80,"line":446},[2170,2175,2179,2183,2188,2192],{"type":44,"tag":78,"props":2171,"children":2172},{"style":185},[2173],{"type":50,"value":2174},"        from",{"type":44,"tag":78,"props":2176,"children":2177},{"style":90},[2178],{"type":50,"value":193},{"type":44,"tag":78,"props":2180,"children":2181},{"style":90},[2182],{"type":50,"value":114},{"type":44,"tag":78,"props":2184,"children":2185},{"style":117},[2186],{"type":50,"value":2187},"alerts@example.com",{"type":44,"tag":78,"props":2189,"children":2190},{"style":90},[2191],{"type":50,"value":125},{"type":44,"tag":78,"props":2193,"children":2194},{"style":90},[2195],{"type":50,"value":221},{"type":44,"tag":78,"props":2197,"children":2198},{"class":80,"line":684},[2199,2204,2208,2212,2216,2221,2225,2230,2234,2239,2243,2247],{"type":44,"tag":78,"props":2200,"children":2201},{"style":185},[2202],{"type":50,"value":2203},"        cc",{"type":44,"tag":78,"props":2205,"children":2206},{"style":90},[2207],{"type":50,"value":193},{"type":44,"tag":78,"props":2209,"children":2210},{"style":96},[2211],{"type":50,"value":1551},{"type":44,"tag":78,"props":2213,"children":2214},{"style":90},[2215],{"type":50,"value":125},{"type":44,"tag":78,"props":2217,"children":2218},{"style":117},[2219],{"type":50,"value":2220},"user1@example.com",{"type":44,"tag":78,"props":2222,"children":2223},{"style":90},[2224],{"type":50,"value":125},{"type":44,"tag":78,"props":2226,"children":2227},{"style":90},[2228],{"type":50,"value":2229},",",{"type":44,"tag":78,"props":2231,"children":2232},{"style":90},[2233],{"type":50,"value":114},{"type":44,"tag":78,"props":2235,"children":2236},{"style":117},[2237],{"type":50,"value":2238},"user2@example.com",{"type":44,"tag":78,"props":2240,"children":2241},{"style":90},[2242],{"type":50,"value":125},{"type":44,"tag":78,"props":2244,"children":2245},{"style":96},[2246],{"type":50,"value":1626},{"type":44,"tag":78,"props":2248,"children":2249},{"style":90},[2250],{"type":50,"value":221},{"type":44,"tag":78,"props":2252,"children":2253},{"class":80,"line":726},[2254,2259,2263,2267,2272,2276],{"type":44,"tag":78,"props":2255,"children":2256},{"style":185},[2257],{"type":50,"value":2258},"        replyTo",{"type":44,"tag":78,"props":2260,"children":2261},{"style":90},[2262],{"type":50,"value":193},{"type":44,"tag":78,"props":2264,"children":2265},{"style":90},[2266],{"type":50,"value":114},{"type":44,"tag":78,"props":2268,"children":2269},{"style":117},[2270],{"type":50,"value":2271},"support@example.com",{"type":44,"tag":78,"props":2273,"children":2274},{"style":90},[2275],{"type":50,"value":125},{"type":44,"tag":78,"props":2277,"children":2278},{"style":90},[2279],{"type":50,"value":221},{"type":44,"tag":78,"props":2281,"children":2282},{"class":80,"line":1206},[2283],{"type":44,"tag":78,"props":2284,"children":2285},{"style":90},[2286],{"type":50,"value":2287},"      }\n",{"type":44,"tag":78,"props":2289,"children":2290},{"class":80,"line":1247},[2291],{"type":44,"tag":78,"props":2292,"children":2293},{"style":90},[2294],{"type":50,"value":2295},"    }\n",{"type":44,"tag":78,"props":2297,"children":2298},{"class":80,"line":1255},[2299],{"type":44,"tag":78,"props":2300,"children":2301},{"style":90},[2302],{"type":50,"value":443},{"type":44,"tag":78,"props":2304,"children":2305},{"class":80,"line":1268},[2306,2310,2314],{"type":44,"tag":78,"props":2307,"children":2308},{"style":90},[2309],{"type":50,"value":230},{"type":44,"tag":78,"props":2311,"children":2312},{"style":96},[2313],{"type":50,"value":235},{"type":44,"tag":78,"props":2315,"children":2316},{"style":90},[2317],{"type":50,"value":130},{"type":44,"tag":59,"props":2319,"children":2321},{"id":2320},"common-pitfalls",[2322],{"type":50,"value":2323},"Common Pitfalls",{"type":44,"tag":2325,"props":2326,"children":2327},"ol",{},[2328,2344,2370,2380,2395],{"type":44,"tag":2329,"props":2330,"children":2331},"li",{},[2332,2342],{"type":44,"tag":957,"props":2333,"children":2334},{},[2335,2340],{"type":44,"tag":74,"props":2336,"children":2338},{"className":2337},[],[2339],{"type":50,"value":1806},{"type":50,"value":2341}," is the identifier, not the display name",{"type":50,"value":2343}," — use the identifier you set when defining the workflow, not its human-readable name. Novu creates workflowId automatically if not provided",{"type":44,"tag":2329,"props":2345,"children":2346},{},[2347,2352,2354,2360,2362,2368],{"type":44,"tag":957,"props":2348,"children":2349},{},[2350],{"type":50,"value":2351},"Subscriber upsert",{"type":50,"value":2353}," — triggering to a non-existent ",{"type":44,"tag":74,"props":2355,"children":2357},{"className":2356},[],[2358],{"type":50,"value":2359},"subscriberId",{"type":50,"value":2361}," or ",{"type":44,"tag":74,"props":2363,"children":2365},{"className":2364},[],[2366],{"type":50,"value":2367},"subscriber",{"type":50,"value":2369}," object string will create the subscriber with that subscriberId.",{"type":44,"tag":2329,"props":2371,"children":2372},{},[2373,2378],{"type":44,"tag":957,"props":2374,"children":2375},{},[2376],{"type":50,"value":2377},"Bulk trigger limit is 100 events",{"type":50,"value":2379}," — chunk larger batches into groups of 100.",{"type":44,"tag":2329,"props":2381,"children":2382},{},[2383,2393],{"type":44,"tag":957,"props":2384,"children":2385},{},[2386,2391],{"type":44,"tag":74,"props":2387,"children":2389},{"className":2388},[],[2390],{"type":50,"value":756},{"type":50,"value":2392}," is required for cancellation",{"type":50,"value":2394}," — you cannot cancel a trigger without it. Either provide custom transactionId or store novu generated transactionId if usecase is to cancel the workflow run (trigger event) later.",{"type":44,"tag":2329,"props":2396,"children":2397},{},[2398,2408],{"type":44,"tag":957,"props":2399,"children":2400},{},[2401,2403],{"type":50,"value":2402},"Payload is validated against the workflow's ",{"type":44,"tag":74,"props":2404,"children":2406},{"className":2405},[],[2407],{"type":50,"value":1865},{"type":50,"value":2409}," — if the workflow defines a schema, the trigger will fail if the payload doesn't match.",{"type":44,"tag":59,"props":2411,"children":2413},{"id":2412},"references",[2414],{"type":50,"value":2415},"References",{"type":44,"tag":2417,"props":2418,"children":2419},"ul",{},[2420,2430,2439,2448,2457],{"type":44,"tag":2329,"props":2421,"children":2422},{},[2423],{"type":44,"tag":2424,"props":2425,"children":2427},"a",{"href":2426},".\u002Freferences\u002Finstallation.md",[2428],{"type":50,"value":2429},"Installation & Setup",{"type":44,"tag":2329,"props":2431,"children":2432},{},[2433],{"type":44,"tag":2424,"props":2434,"children":2436},{"href":2435},".\u002Freferences\u002Fsingle-trigger-examples.md",[2437],{"type":50,"value":2438},"Single Trigger Examples",{"type":44,"tag":2329,"props":2440,"children":2441},{},[2442],{"type":44,"tag":2424,"props":2443,"children":2445},{"href":2444},".\u002Freferences\u002Fbulk-trigger-examples.md",[2446],{"type":50,"value":2447},"Bulk Trigger Examples",{"type":44,"tag":2329,"props":2449,"children":2450},{},[2451],{"type":44,"tag":2424,"props":2452,"children":2454},{"href":2453},".\u002Freferences\u002Ftopic-trigger-examples.md",[2455],{"type":50,"value":2456},"Topic Trigger Examples",{"type":44,"tag":2329,"props":2458,"children":2459},{},[2460],{"type":44,"tag":2424,"props":2461,"children":2463},{"href":2462},".\u002Freferences\u002Fbest-practices.md",[2464],{"type":50,"value":2465},"Best Practices",{"type":44,"tag":2467,"props":2468,"children":2469},"style",{},[2470],{"type":50,"value":2471},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2473,"total":446},[2474,2490,2504,2516,2529,2549,2560,2572],{"slug":2475,"name":2475,"fn":2476,"description":2477,"org":2478,"tags":2479,"stars":2487,"repoUrl":2488,"updatedAt":2489},"env-setup","configure Novu environment variables","Create or update Novu environment variables in the user's project safely (never expose the secret key to the client). Complements the official Novu skills by covering project-level env configuration.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2480,2483,2486],{"name":2481,"slug":2482,"type":16},"Configuration","configuration",{"name":2484,"slug":2485,"type":16},"Environment Variables","environment-variables",{"name":18,"slug":19,"type":16},39301,"https:\u002F\u002Fgithub.com\u002Fnovuhq\u002Fnovu","2026-07-13T06:21:58.740401",{"slug":2491,"name":2491,"fn":2492,"description":2493,"org":2494,"tags":2495,"stars":20,"repoUrl":21,"updatedAt":2503},"novu-dashboard-workflows","author Novu workflow step content","Author step content for Novu workflows defined in the Dashboard or generated\u002Fedited via the Novu MCP. Use when filling in step controls (subject, body, editorType, headers, body, conditions) for email, in-app, sms, push, chat, delay, digest, throttle, or HTTP Request steps.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2496,2499,2500],{"name":2497,"slug":2498,"type":16},"MCP","mcp",{"name":18,"slug":19,"type":16},{"name":2501,"slug":2502,"type":16},"Workflow Automation","workflow-automation","2026-07-13T06:21:22.380822",{"slug":2505,"name":2505,"fn":2506,"description":2507,"org":2508,"tags":2509,"stars":20,"repoUrl":21,"updatedAt":2515},"novu-design-workflow","design Novu notification workflows","Design notification workflows the Novu way — choose channels, set severity, decide when a workflow is critical, configure digests, and route based on subscriber state. Applies to BOTH dashboard-authored and code-first (`@novu\u002Fframework`) workflows. Use when planning a new workflow, deciding which channels to include, picking severity, configuring digest behavior, or matching a use case (order confirmation, payment failed, account suspended, comment, trial expiring, password reset, webhook fan-out, fetch-then-notify) to a proven template.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2510,2513,2514],{"name":2511,"slug":2512,"type":16},"Messaging","messaging",{"name":18,"slug":19,"type":16},{"name":2501,"slug":2502,"type":16},"2026-07-16T06:02:17.656187",{"slug":2517,"name":2517,"fn":2518,"description":2519,"org":2520,"tags":2521,"stars":20,"repoUrl":21,"updatedAt":2528},"novu-framework-integration","build code-first notification workflows","Build code-first notification workflows with @novu\u002Fframework. Use when defining workflows in TypeScript (Zod \u002F JSON Schema \u002F Class Validator), composing channel steps (email, SMS, push, chat, in-app) with action steps (delay, digest, custom), exposing Step Controls for non-technical teammates, rendering React\u002FVue\u002FSvelte Email templates, hosting the Bridge Endpoint inside Next.js, Express, NestJS, Remix, Nuxt, SvelteKit, H3, or AWS Lambda, syncing to Novu Cloud via CLI \u002F GitHub Actions, securing production with HMAC, or implementing translations, hydration, multi-channel orchestration, and LLM-powered notification logic in code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2522,2525,2526],{"name":2523,"slug":2524,"type":16},"Backend","backend",{"name":18,"slug":19,"type":16},{"name":2527,"slug":70,"type":16},"TypeScript","2026-07-13T06:21:20.83585",{"slug":2530,"name":2530,"fn":2531,"description":2532,"org":2533,"tags":2534,"stars":20,"repoUrl":21,"updatedAt":2548},"novu-inbox-integration","integrate Novu in-app notification inbox","Integrate Novu's in-app notification inbox into web applications. Supports React, Next.js, and vanilla JavaScript. Includes the Inbox component (bell icon + notification feed), composable components (Bell, Notifications, InboxContent, Preferences), headless hooks, branded theming, custom render props, multi-tenancy via contexts, tabs, localization, and HMAC security. Use when adding an in-app notification center, bell icon, notification feed, real-time notification updates, or building a personalized and branded notification experience.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2535,2538,2541,2544,2545],{"name":2536,"slug":2537,"type":16},"Frontend","frontend",{"name":2539,"slug":2540,"type":16},"JavaScript","javascript",{"name":2542,"slug":2543,"type":16},"Next.js","next-js",{"name":18,"slug":19,"type":16},{"name":2546,"slug":2547,"type":16},"React","react","2026-07-13T06:21:11.359078",{"slug":2550,"name":2550,"fn":2551,"description":2552,"org":2553,"tags":2554,"stars":20,"repoUrl":21,"updatedAt":2559},"novu-manage-preferences","configure Novu notification preferences","Configure notification preferences in Novu at the workflow and subscriber level. Set default channel preferences (email, SMS, push, chat, in-app), mark preferences as read-only or subscriber-editable, and manage subscriber-specific overrides. Use when setting up notification opt-in\u002Fopt-out, configuring per-channel delivery preferences, or building a preferences management UI.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2555,2556],{"name":18,"slug":19,"type":16},{"name":2557,"slug":2558,"type":16},"Operations","operations","2026-07-13T06:21:30.061407",{"slug":2561,"name":2561,"fn":2562,"description":2563,"org":2564,"tags":2565,"stars":20,"repoUrl":21,"updatedAt":2571},"novu-manage-subscribers","manage Novu notification subscribers and topics","Create, update, search, and delete subscribers in Novu. Manage topics for group-based notification targeting. Set subscriber credentials for push and chat channels. Use when managing notification recipients, creating subscriber records, organizing subscribers into topics, or configuring channel-specific credentials.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2566,2569,2570],{"name":2567,"slug":2568,"type":16},"API Development","api-development",{"name":2511,"slug":2512,"type":16},{"name":18,"slug":19,"type":16},"2026-07-16T06:00:28.792114",{"slug":4,"name":4,"fn":5,"description":6,"org":2573,"tags":2574,"stars":20,"repoUrl":21,"updatedAt":22},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2575,2576],{"name":14,"slug":15,"type":16},{"name":18,"slug":19,"type":16},{"items":2578,"total":437},[2579,2585,2591,2597,2605,2610,2616],{"slug":2491,"name":2491,"fn":2492,"description":2493,"org":2580,"tags":2581,"stars":20,"repoUrl":21,"updatedAt":2503},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2582,2583,2584],{"name":2497,"slug":2498,"type":16},{"name":18,"slug":19,"type":16},{"name":2501,"slug":2502,"type":16},{"slug":2505,"name":2505,"fn":2506,"description":2507,"org":2586,"tags":2587,"stars":20,"repoUrl":21,"updatedAt":2515},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2588,2589,2590],{"name":2511,"slug":2512,"type":16},{"name":18,"slug":19,"type":16},{"name":2501,"slug":2502,"type":16},{"slug":2517,"name":2517,"fn":2518,"description":2519,"org":2592,"tags":2593,"stars":20,"repoUrl":21,"updatedAt":2528},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2594,2595,2596],{"name":2523,"slug":2524,"type":16},{"name":18,"slug":19,"type":16},{"name":2527,"slug":70,"type":16},{"slug":2530,"name":2530,"fn":2531,"description":2532,"org":2598,"tags":2599,"stars":20,"repoUrl":21,"updatedAt":2548},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2600,2601,2602,2603,2604],{"name":2536,"slug":2537,"type":16},{"name":2539,"slug":2540,"type":16},{"name":2542,"slug":2543,"type":16},{"name":18,"slug":19,"type":16},{"name":2546,"slug":2547,"type":16},{"slug":2550,"name":2550,"fn":2551,"description":2552,"org":2606,"tags":2607,"stars":20,"repoUrl":21,"updatedAt":2559},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2608,2609],{"name":18,"slug":19,"type":16},{"name":2557,"slug":2558,"type":16},{"slug":2561,"name":2561,"fn":2562,"description":2563,"org":2611,"tags":2612,"stars":20,"repoUrl":21,"updatedAt":2571},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2613,2614,2615],{"name":2567,"slug":2568,"type":16},{"name":2511,"slug":2512,"type":16},{"name":18,"slug":19,"type":16},{"slug":4,"name":4,"fn":5,"description":6,"org":2617,"tags":2618,"stars":20,"repoUrl":21,"updatedAt":22},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2619,2620],{"name":14,"slug":15,"type":16},{"name":18,"slug":19,"type":16}]