#Serial key fast email sender how toWe’ve already got a Postgres DB connected, but you can read more about how to do that here. The first thing we’ll want to do is write a query to get our users. The basic UI we’re going to build is a table to display our users and a search input to filter by email. To send emails, we’ll need people to send them to. Pick a useful name, paste in your key, click “Create resource” and then you should be good to go. You’ll be prompted for a name and your key. Click the “Create new” button and find the SendGrid option. Once you’ve got your API key from SendGrid, head over to your Retool account and click on the “Resources” top nav. But once SendGrid shows you your key value, make sure to keep that in a safe place – they won’t show it to you again. Give your key a nice descriptive name up top, and then click “Create & View” – don’t worry too much about permissions, you can always edit them after the fact. #Serial key fast email sender fullHere we’ve chosen “Restricted Access” (which lets us set domain specific permissions), and given the key full write access to mail send APIs (which is the whole point of our app). Click on the “Create API Key” button, and choose the level of access you want to give your key. To get started, head to your SendGrid account and click on Settings → API Keys (or you can go straight to this link). The bulk of the work here is actually in SendGrid – you’ll need to create a new API Key, set the appropriate permissions, and then paste that key into Retool. (You can clone this app as a template and use it right away here, if you're so inclined.) Connecting Retool to your SendGrid accountīefore we get anywhere, we’ll need to get SendGrid hooked up to your Retool account. On the right, we’ve got a rich text editor for writing your emails, a modal to edit email details, another modal for viewing selected recipients, and a big ol’ button to send emails out to the users selected in the table. On the left, we’re pulling a list of users from a Postgres DB. Here’s what our finished app is going to look like: If you’re using another ESP like Mailgun, the same principles apply (some assembly required). This tutorial is going to walk through how to build a Retool app that uses the SendGrid API to send emails to your customers – in just under an hour (yes, one hour).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |