#Dotdigital integration

1 messages · Page 1 of 1 (latest)

languid sleet
#

Hello 🙂
Please let me know if there is any way to configure dotdigital with novu? I can't see such integration in integration Store, but maybe there is a way to do it?

Thanks in advance,
Bart

hybrid crystal
#

Hi @languid sleet
Can you please share your case a bit?
How you want to use dotdigital with novu?

languid sleet
#

@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

hybrid crystal
#

Hi @languid sleet,
Is dotdigital provide api key like sendgrid for email server?

languid sleet
slow anvilBOT
#

@languid sleet, you just advanced to level 1!

hybrid crystal
#

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?

Dotdigital API

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...

Dotdigital API

A tutorial for setting up your app to receive push notifications from the Program Builder in Dotdigital

#

!feature

hybrid crystal
#

We highly appreciate if you can help us with these implementation.

languid sleet
#

@hybrid crystal sure thing, I am just testing it locally. Once I create a PR, how fast do you think it can be merged?

hybrid crystal
#

It depends on suggestion changes
It can be merged in the same day it self or take couple of days.

languid sleet
#

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!

hybrid crystal
#

steps:-

  1. First run npm run setup:project
  2. After running step 1 successfully, run npm run start:api:dev to run api in watch mode to debug
  3. open a new terminal to run web npm run start:web
  4. open a one more terminal and go to particular provider directory. for example I took twilio
    cd providers/twilio and then run npm run watch:build to run provider in watch mode.
languid sleet
#

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

@hybrid crystal do you have any suggestions?

languid sleet
#

<@&986960430528331776> ?

hybrid crystal
#

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

languid sleet
#

@hybrid crystal I think we can't use SMTP, because we want to control email templates and everything from the dotdigital level

hybrid crystal
#

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

languid sleet
#

@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

slow anvilBOT
#

@languid sleet, you just advanced to level 2!

languid sleet
#

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?

hybrid crystal
hybrid crystal