This episode we talk through third-party API's, integrations and more. From Stipe, Twilio, transactional emails and moe.
We are going to be talking through the main / really popular API partners out there and give some quick feedback on how to integrate/go about them. Plus some lessons learned to keep in mind when planning integrations like this.
Sendgrid + Other Transactional Email
John: Formatting emails βΒ inline styles only.
John: Some services have "Templates" with "Placeholders", some you pass the full HTML
John: Having some kind fo "log" object in your own domain can be very helpful.
John: Priority on background jobs for timely emails β
JP: Iterable. Opendoor uses this tool to send text, email, and push notifications. Everything hinges around handlebars / mustache and OOF - inline styles
JP: Side project with send grid, just a list of template ids
await deliverTemplateEmail({ to: user.emailAddress, templateId: SOME_TEMPLATE_ID, data: { contactFirstName: user.firstName, viewMyAccountLink: ${config.BASE_URL}/user/dashboard, }, });
Stripe + Other Payment Providers
Twilio (SMS)
Scheduler / Chron Jobs
OAuth Login?
Other?