![]() Create a SendGrid API Key and add it as an environment variable in your Function Service.Create the Twilio Function Service where you’ll add the code to handle unsubscribe events.In order to use SendGrid in a Twilio Function, you need to perform these four steps: A SendGrid account (you can get a Free account by signing up here).A free Twilio account ( sign up with this link and get $10 in free credit when you upgrade your account).To get started with this tutorial, you’ll need the following: Read on to see Twilio Functions + SendGrid Event Webhooks in action! Prerequisites Twilio Functions is a serverless environment that empowers you to write code to receive Events from Event Webhook without having to worry about maintaining or scaling web infrastructure - it's all managed seamlessly by Twilio. Wouldn’t it be awesome if you could utilize those events without the hassle? Introducing Twilio Functions However, Event Webhooks require you to stand up a web server to receive events, which can be tricky. ![]() The world is your oyster for what you leverage these events for: storing in a datastore, responding to a bounced email, or building a custom analytics dashboard. To recap, here’s The Nine Types of Email Events that you can receive with SendGrid’s Event Webhook. At Twilio SendGrid, we provide you with industry-leading insights about how your emails are processed and engaged in real-time through Event Webhooks. The world of email contains an incredible amount of data. In this article, you’ll learn how to use SendGrid’s Event Webhook and build a Twilio Function Service to share global unsubscribe data with multiple subusers. But what if you want to share data across multiple subusers? ![]() Splitting your email activity into subusers allows you to get separate statistics for each type of email you send. SendGrid’s subusers are a great way to segment your email sending and API activity.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |