maybeNoT
maybeNoT
Explore posts from servers
NNovu
Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
Thanks @Mei Thanks @Pawan Jain
25 replies
NNovu
Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
Solved Final solution is to add and set environment variable IS_TOPIC_NOTIFICATION_ENABLED: true Inside of a docker-compose.yml file at /docker/local/deployment.
25 replies
NNovu
Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
Got it.
25 replies
NNovu
Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
Ah.. if that's the case.
25 replies
NNovu
Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
Aren't the images built based on the current state of a files in the repo?
25 replies
NNovu
Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
Aren't the .env files used by images in case if they are not defined in the compose?
25 replies
NNovu
Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
@Mei
25 replies
NNovu
Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
No description
25 replies
NNovu
Created by maybeNoT on 4/15/2024 in #💬│support
Triggering workflow to topic subscribers doesn't work.
@Pawan Jain
36 replies
NNovu
Created by maybeNoT on 4/15/2024 in #💬│support
Triggering workflow to topic subscribers doesn't work.
No description
36 replies
NNovu
Created by maybeNoT on 4/15/2024 in #💬│support
Triggering workflow to topic subscribers doesn't work.
No description
36 replies
NNovu
Created by maybeNoT on 4/15/2024 in #💬│support
Triggering workflow to topic subscribers doesn't work.
No description
36 replies
NNovu
Created by maybeNoT on 4/15/2024 in #💬│support
Triggering workflow to topic subscribers doesn't work.
I did run npx update-browserslist-db@latest as suggested. Then it threw an error and suggested to do pnpm up caniuse-lite I did that as well - and still this issue.
36 replies
NNovu
Created by maybeNoT on 4/15/2024 in #💬│support
Triggering workflow to topic subscribers doesn't work.
No description
36 replies
NNovu
Created by maybeNoT on 4/15/2024 in #💬│support
Triggering workflow to topic subscribers doesn't work.
Requesting.
36 replies
NNovu
Created by maybeNoT on 4/15/2024 in #💬│support
Triggering workflow to topic subscribers doesn't work.
I got a message that I can't join.
36 replies
NNovu
Created by maybeNoT on 4/15/2024 in #💬│support
Triggering workflow to topic subscribers doesn't work.
Yea I can.
36 replies
NNovu
Created by maybeNoT on 4/15/2024 in #💬│support
Triggering workflow to topic subscribers doesn't work.
I triggered workflow like this with a single request now and with a simple text mail.
const { data: single } = await this.novu.trigger('send-mail2', {
to: { subscriberId: '6617e3701da082efc8ee2f92' },
payload: {
description: 'Test notification',
},
});
console.log('trigger single --> ', single);

const { data: batch } = await this.novu.trigger('send-mail2', {
to: [{ type: TriggerRecipientsTypeEnum.TOPIC, topicKey: 'it-dev' }],
payload: {
description: 'Test notification',
},
});
console.log('trigger batch --> ', batch);
const { data: single } = await this.novu.trigger('send-mail2', {
to: { subscriberId: '6617e3701da082efc8ee2f92' },
payload: {
description: 'Test notification',
},
});
console.log('trigger single --> ', single);

const { data: batch } = await this.novu.trigger('send-mail2', {
to: [{ type: TriggerRecipientsTypeEnum.TOPIC, topicKey: 'it-dev' }],
payload: {
description: 'Test notification',
},
});
console.log('trigger batch --> ', batch);
And this is the response that I get back:
trigger single --> {
data: {
acknowledged: true,
status: 'processed',
transactionId: '4ec9bb65-4897-4d21-a54d-41d96bd7bcbd'
}
}
trigger batch --> {
data: {
acknowledged: true,
status: 'processed',
transactionId: '7e303442-d19f-4d55-b477-252fb3c23726'
}
}
trigger single --> {
data: {
acknowledged: true,
status: 'processed',
transactionId: '4ec9bb65-4897-4d21-a54d-41d96bd7bcbd'
}
}
trigger batch --> {
data: {
acknowledged: true,
status: 'processed',
transactionId: '7e303442-d19f-4d55-b477-252fb3c23726'
}
}
For the single: - I received mail - I can find event by transaction ID in activity feed For the topic: - I did not receive an email - I can't find it in activity feed Just like no event was actually triggered. My request is going through. I think I'm getting proper response. I don't see any errors, or which logs you want me to check and where?
36 replies
NNovu
Created by maybeNoT on 4/15/2024 in #💬│support
Triggering workflow to topic subscribers doesn't work.
@Support
36 replies
NNovu
Created by maybeNoT on 4/15/2024 in #💬│support
Triggering workflow to topic subscribers doesn't work.
@Pawan Jain
36 replies