You’ll get 500k API calls on their PRO plan, which is the only paid plan that they offer. No need to set up dev environments or install any tooling - with Napkin’s free plan, you get 25k API calls/month. Napkin is practically zero-configuration. Even Firebase Cloud Functions are annoying to setup. The annoying thing about AWS and Google Cloud is that their platforms come with a learning curve. Napkin is by far my favorite “functions-as-a-service” (FAAS) provider. Our first step is creating an account on Napkin.io. Now that we got that out of the way, let’s start building. You can reach out to me with any questions you encounter along the way. I also recommend joining our Slack community. We’re in open beta and its free to get started. Lastly, if you haven’t already, sign up for a Memberstack 2.0 account. Now, before we get started, here’s a few things to keep in mind.This is a low-code tutorial, but you should still have basic familiarity with JavaScript and APIs.Also, if you end up using any of this code in production, make sure you’re available to keep an eye on the code from time to time. Logging new Memberstack members in Airtableīy the end of this tutorial, you’ll have your own automation running in your own cloud function.The best part is, you don’t have to worry about servers, backends, or any complex tooling!.Best practices in setting up an Airtable database.Subscribing to Webhook Events in Memberstack 2.0.□ In a rush? Fork the cloud function & clone the Airtable base In this post, I’m going to teach you step by step how to harness the power of cloud functions to automate events in Memberstack and sync new members into Airtable. If you’ve outgrown tools like Zapier and Make or you’re simply interested in low-code scripting with 3rd party APIs, then going serverless is a simple and easy way to get started. As a simple example, we’ll pass along the JSON object setup in the example above to Slack.In my previous post, I introduced the concept of going serverless and its benefits. The data you pass to the incoming webhook can now be used in any automation action. In our example, we’ll pass along the JSON object received by the webhook into Slack. Click the “Run test” button to start the test you’ll receive a “Test ran successfully” message after the test is complete.Īfter running a successful test you can now add an automation action to make use of the data you want to send to the webhook. Once you’ve received a successful response for the example webhook, you need to test the webhook directly in the Airtable automation. Check that your request was sent with a Content-Type header of "application/json".You can send over any JSON object in the test, but for sake of example we’ll use a simple object: ). Next, click the “Content tab” directly underneath where you pasted your webhook URL. Paste the webhook URL (generated by Airtable) into the textbox near the top of the screen. This enables you to integrate with services that Airtable doesn’t currently support or to programmatically trigger automations, preventing you from having to write custom code or manage your own infrastructure. When Airtable receives a request at this URL, we’ll then trigger the automation that you configured (just like our other triggers). You can use this URL with another service’s webhook configuration UI, or use it directly from your own custom code (e.g. The incoming webhook trigger will create a unique URL that you can use to trigger an Airtable automation. Creating an automation - Learn how to set up your first automation in Airtable.Automation troubleshooting - Helpful information to help you self-resolve potential automation issues.Editors - View an automation's configuration or copy an automation's URL.Owners/ Creators - Create, delete, duplicate, configure, or rename an automation and edit an automation's description. Normally, you’d have to write custom code and spin up your own infrastructure in order to handle webhooks, but now, whenever an event fires in another product, you can tap into the full power of Airtable Automations to handle it accordingly. With the incoming webhook trigger for automations, you can connect Airtable with many of the tools and products that you and your team use (whether a third-party service or an internal tool).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |