#Dotdigital integration
1 messages · Page 1 of 1 (latest)
Hi @languid sleet
Can you please share your case a bit?
How you want to use dotdigital with novu?
@hybrid crystal In general I want to use dotdigital as a email marketing tool and trying to figure it out if is it possible to integrate it with novu for example for transactional emails. Right now we have integration with novu in-app notifications
Hi @languid sleet,
Is dotdigital provide api key like sendgrid for email server?
@hybrid crystal, not exactly api key, but api user (login and password), see here:
https://developer.dotdigital.com/docs/getting-started-with-the-api
Get started with Dotdigital API - you'll be up and running in no time
@languid sleet, you just advanced to level 1!
hi @languid sleet
I just checked these features can be used with novu
https://developer.dotdigital.com/docs/transactional-email [as a email provider]
https://developer.dotdigital.com/docs/setting-up-push-notifications [as a push provider]
Can you please create two separate feature request for these?
You can send real-time transactional emails using our communications functionality in the API.Features include: The content of the transactional email can be HTML and/or plain text basedUse triggered templates to send transactional emailData merge using data passed in the API callBulk methods for hi...
A tutorial for setting up your app to receive push notifications from the Program Builder in Dotdigital
!feature
We highly appreciate if you can help us with these implementation.
You can follow this documentation to add new provider
https://docs.novu.co/community/create-provider
@hybrid crystal sure thing, I am just testing it locally. Once I create a PR, how fast do you think it can be merged?
It depends on suggestion changes
It can be merged in the same day it self or take couple of days.
Ok cool, @hybrid crystal can you also tell me how can I see logs coming from my newly created provider when I run project locally "npm run start:dev"
I mean I run following command on the root level
"cross-env TZ=UTC lerna run start:dev --parallel --concurrency=20 --scope=@slow anvil/{api,web,widget,ws,notification-center}"
and I am connected to the api from my app locally like this:
const novu = new Novu(process.env.NOVU_API_KEY!, {
backendUrl: 'http://localhost:3000',
}));
then I trigger email notification
novu.trigger('email', { ... })
but sth is wrong and need your advice what would be the best way to debug it, thanks in advance!
steps:-
- First run
npm run setup:project - After running step 1 successfully, run
npm run start:api:devto run api in watch mode to debug - open a new terminal to run web
npm run start:web - open a one more terminal and go to particular provider directory. for example I took twilio
cd providers/twilioand then runnpm run watch:buildto run provider in watch mode.
Ok I figured it out. Thank you
I am pretty close to finish my PR, but need your advice regarding how to structure my provider in order to enable user to choose between sending few types of transactional emails
- regular POST 'https://r2-api.dotdigital.com/v2/email'
- batch POST 'https://r2-api.dotdigital.com/v2/email/batch',
- triggered campaign POST 'https://r2-api.dotdigital.com/v2/email/triggered-campaign',
- batch triggered campaign POST 'https://r2-api.dotdigital.com/v2/email/triggered-campaign/batch',
@hybrid crystal do you have any suggestions?
<@&986960430528331776> ?
Let me check if we support dropdown list in provider integration form in our integration store
I just found out that dot digital has SMTP based transaction email feature also
So, instead of adding a new dot digital provider,
you can use our custom smtp provider option
https://docs.novu.co/channels/email/custom-smtp
@hybrid crystal I think we can't use SMTP, because we want to control email templates and everything from the dotdigital level
It will not be possible to use dotdigital template
As novu will send it's email template.
You will have to copy template content from dotdigital and paste it into novu email editor
@hybrid crystal take a look here (it is my dotdigital provider)
there is still mocked data, but when I do it this way I will send template coming from dotdigital by using campaignId fore example
@languid sleet, you just advanced to level 2!
is there a way to use custom provider I created with the cloud based version of novu or do we need to use self hosted one?
and one more question, how can I easily change api port locally so everything works as before?
<@&943775970421264404>
Shall we allow this type of provider where provider template I'd will be passed and used as email content instead of novu email content?
Once this PR will be merged and depployed to production with a release. It will be available in cloud based version.
You can always self host with modification.