Serverless Marketing Automation with Convertkit and Next.js
Tools like Convertkit provide a lot of powerful tools you can use for marketing automation, but as a developer I want to goa layer deeper and find that using serverless functions with a framework like Next.js provides immense power to customize automation.
In this episode of Learn with Jason, I guide Jason through subscribing somebody to his email list, setting a cookie with their Convertkit ID, and then using that ID to load the subscriber from Convertkit anywhere in his application via a React Context and a custom React Hook. import ResponsiveEmbed from "react-responsive-embed";
This approach is inspired by the fundamentals that Brennan Dunn teaches in his amazing Mastering Converkit workshop which I highly recommend.