Using a third party API wrapper.

Options
EdWalzak
EdWalzak Member Posts: 28
edited March 26 in Ask a Question

I am using Emma for email marketing. I would like to use the Emma API to send a POST request when a Duda form is submitted.

Emma provides an API wrapper emma-sdk in Node.js with functions that I can all with custom code when a form is submitted.

Where can I install the sdk in Duda? Or should I just create my own library on Github or AWS and call it using a CDN?

Tagged:

Best Answer

  • AndresLopez
    AndresLopez Member Posts: 3 mod
    Answer ✓
    Options

    Hi there, this is Andres with the Support team.

    Unfortunately it won't be possible to install an sdk in Duda. You'll have to host it elsewhere and call it using a CDN. Our contact forms also support Webhook integrations which might be helpful in this scenario. You can read more here: Contact Form Integrations.

    Hope that helps! Let us know if you have any questions.

Answers

  • EdWalzak
    EdWalzak Member Posts: 28
    Options

    Thank you @AndresLopez

    I'm grudgingly accepting that this is (currently) over my head, and I'll add it to my development goals this year.

    For now, I just set it up with Zapier and it took 3 1/2 minutes. 😂