Dragan
NNovu
•Created by Dragan on 7/31/2024 in #💬│support
Set workflow name
Hello! I am using novu framework for creating code first workflows. In the documentation it says that workflows have an identifier which should be unique and a name. However, I can't find where the name can be set.
6 replies
NNovu
•Created by Dragan on 7/15/2024 in #💬│support
layoutIdentifier override not working
Hi, I am overriding the layoutIdentifier when triggering a workflow. When I get the email the desired layout is not applied.
This only happens for the code first workflows I have defined. For the ones created from the dashboard the layout is correctly applied when I use the layoutIdentifier override.
Here is the trigger information:
curl -X POST 'https://api.novu.co/v1/events/trigger' \
-H 'Authorization: ApiKey NOVU_SECRET_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "some-workflow",
"to": {
"subscriberId": "2"
},
"payload": {
"name": "Name 2",
"updatedBy": "Dragan"
},
"overrides": {
"layoutIdentifier": "test-layout"
}
}'
19 replies
NNovu
•Created by Dragan on 7/12/2024 in #💬│support
Hello,
I want to use SendGrid dynamic templates along with code first workflows and digest as one of the steps.
The problem I am facing is that we need to pass in the templateId and the dynamic data when triggering the workflow. Is there a way to pass in the digestResult to the SendGrid template?
27 replies