SuperSaaS

Appointment Scheduling for Every Situation

Go to site

Integrate the SuperSaaS API with the Airtable API

Setup the SuperSaaS API trigger to run a workflow which integrates with the Airtable API. Pipedream's integration platform allows you to integrate SuperSaaS and Airtable remarkably fast. Free for developers.

Connect SuperSaaS

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    supersaas: {
      type: "app",
      app: "supersaas",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.supersaas.com/api/schedules.json`,
      params: {
        account: `${this.supersaas.$auth.account}`,
        api_key: `${this.supersaas.$auth.api_key}`,
      },
    })
  },
})

Connect Airtable

module.exports = defineComponent({
  props: {
    airtable: {
      type: "app",
      app: "airtable",
    },
    baseId: {
      type: "$.airtable.baseId",
      appProp: "airtable",
    },
    tableId: {
      type: "$.airtable.tableId",
      baseIdProp: "baseId",
    },
  },
  async run({steps, $}) {
    const Airtable = require('airtable');
    const base = new Airtable({apiKey: this.airtable.$auth.api_key}).base(this.baseId);

    const data = []
    
    await base(this.tableId).select({
      // pass optional config parameters here
    }).eachPage(function page(records, fetchNextPage) {
        // This function (`page`) will get called for each page of records.
        records.forEach(function(record) {
            data.push(record._rawJson)
        });

        // To fetch the next page of records, call `fetchNextPage`.
        // If there are more records, `page` will get called again.
        // If there are no more records, `done` will get called.
        fetchNextPage();
    })

    return data
  },
})

Community Posts

Logging user credit changes using Google Sheets and Pipedream
Logging user credit changes using Google Sheets and Pipedream
One of the nice features SuperSaaS is a credit system which allows end-users to buy credit once and then easily pay for appointments without needing to go through the checkout each time. There are multiple things that can affect a credit balance. Credit purchases and new appointment, obviously, but also refunds due to canceled appointments, and manual credit adjustments by a superuser. This post is a step-by-step tutorial for setting up the logging of user credit information to a Google Sheet using Pipedream, a powerful API integration service.
Airtable Webhooks with Slack + Pipedream
Airtable Webhooks with Slack + Pipedream
We love Airtable here at Pipedream. But Airtable lacks one killer feature — webhooks. We took advantage of Airtable’s Slack notifications and built a way to send webhooks to an HTTP endpoint every time a record is created or updated in a base. It takes 10 minutes to setup and it’s free.
Webhooks workaround using Slack
Webhooks workaround using Slack
This has been an open item in the Airtable support community for a few years, see "Webhooks for Records 393" and here 39, & here 28, and we are excited to offer a free solution to the community. Here is the high level solution: Based on the transitive property (A=B and B=C, then A=C), Airtable supports Slack Notifications, and Slack supports webhooks, so Airtable supports webhooks! You just have to know how to set it up correctly. With a simple integration via Pipedream into Slack, all Airtable users can now get near real time notifications of all updated fields and values in Airtable.
Overcoming Airtable Scripting Limitations with Pipedream
Overcoming Airtable Scripting Limitations with Pipedream
How I used Pipedream — Created a workflow having an API endpoint to convert Airtable’s Attachment Image URL to Base64 encode image (to push it to another API). Similarly, there could be a million other use-cases.