© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
NovuN
Novu•2y ago•
48 replies
Sapar

Not getting email notifications from topic

I use novu in my laravel app. I configured api key and uri. I created a topic:
$novu->createTopic([
'key' => 'seller_registration_notification',
'name' => $name,
]);
The result is successful.
[2024-02-09 10:16:23] local.INFO: [NovuService][Success]:createTopic {"id":"65c5fb765de7c63123a6da72","key":"seller_registration_notification"}
I created subscriber:
$novu->createSubscriber([
'subscriberId' => 'admin_20',
'email' => 'admin20@mail.com',
'firstName' => 'Sapar',
'lastName' => 'Atayev'
]);
The result was successful.
[2024-02-12 14:21:58] local.INFO: [NovuService][Success]:createSubscriber {"id":"65ca2988619fe4f9cf65013a","subscriberId":"admin_20","firstName":"Sapar","lastName":"Atayev","email":"admin20@mail.com","channels":[],"organizationId":"6409c0dbe5d10c2178942df2","environmentId":"6409c0dbe5d10c2178942e1c","deleted":false,"createdAt":"2024-02-12T14:22:00.538Z","updatedAt":"2024-02-12T14:22:00.538Z","v":0}
Added subscriber to topic:
$novu->topic('seller_registration_notification')->addSubscribers(['admin_20']);
Result is successful.
[2024-02-12 14:21:59] local.INFO: [NovuService][Success]:addSubscribersToTopic {"succeeded":["admin_20"]}
Created workflow manually through interface. Workflow ID is 'lpb-new-seller'. I added the step 'Email' in order to send email notification. Configured the email template in workflow.
Sent notification to topic:
$novu->triggerEvent([
'name' => 'lpb-new-seller',
'to' => [
[
'type' => 'Topic',
'topicKey' => 'seller_registration_notification'
],
],
'payload' => [
'info' => 'info',
'name' => 'Mr. John',
]
])
Success. Novu activity feed shows success. But I don't receive any email to subscriber mail box.
[2024-02-13 07:44:32] local.INFO: [NovuService][Success]:sendNotificationToTopics {"transactionId":"70544a21-28a8-49b1-9ce5-11bb7468627b","acknowledged":true,"status":"processed"}
Need help. Thanks.
Novu banner
NovuJoin
Open Source Notification Infrastructure Community by Novu
4,169Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Not getting notifications from topics
NovuNNovu / 💬│support
3y ago
No notifications from topic
NovuNNovu / 💬│support
3y ago
Not getting email notifications on Trigger event
NovuNNovu / 💬│support
2y ago
Subscribers in the topic are not receiving notifications.
NovuNNovu / 💬│support
2y ago