← Adalo + Data Stores integrations

Add or update a single record with Data Stores API on New Record from Adalo API

Pipedream makes it easy to connect APIs for Data Stores, Adalo and 1000+ other apps remarkably fast.

Trigger workflow on
New Record from the Adalo API
Next, do this
Add or update a single record with the Data Stores API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

This integration creates a workflow with a Adalo trigger and Data Stores action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Record trigger
    1. Connect your Adalo account
    2. Configure timer
    3. Configure Collection ID
  3. Configure the Add or update a single record action
    1. Connect your Data Stores account
    2. Configure Data Store
    3. Select a Key
    4. Configure Value
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, open source components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when is created a record.
Version:0.0.4
Key:adalo-new-record

Adalo Overview

Some examples of what you can build with the Adalo API:

  • Todo List
  • Pinterest Board
  • Shopping List
  • Weather App
  • Basic Calculator
  • Flashcards
  • Expense Tracker
  • Photo Gallery

Trigger Code

import adalo from "../../adalo.app.mjs";
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";

export default {
  key: "adalo-new-record",
  name: "New Record",
  description: "Emit new event when is created a record.",
  version: "0.0.4",
  type: "source",
  dedupe: "unique",
  props: {
    adalo,
    timer: {
      type: "$.interface.timer",
      default: {
        intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
      },
    },
    collectionId: {
      label: "Collection ID",
      description: "The ID the collection",
      type: "string",
    },
  },
  methods: {
    emitEvent(event) {
      this.$emit(event, {
        id: event.id,
        summary: `New record with id ${event.id} created`,
        ts: Date.parse(event.created_at),
      });
    },
  },
  hooks: {
    async deploy() {
      const records = await this.adalo.getRecords({
        collectionId: this.collectionId,
        params: {
          limit: 10,
        },
      });

      records.forEach(this.emitEvent);
    },
  },
  async run({ $ }) {
    let offset = 0;

    while (offset >= 0) {
      const records = await this.adalo.getRecords({
        $,
        collectionId: this.collectionId,
        params: {
          offset,
        },
      });

      records.forEach(this.emitEvent);

      if (records.length < 100) {
        offset = -1;
        return;
      }

      offset += 100;
    }

  },
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
AdaloadaloappThis component uses the Adalo app.
timer$.interface.timer
Collection IDcollectionIdstring

The ID the collection

Trigger Authentication

Adalo uses API keys for authentication. When you connect your Adalo account, Pipedream securely stores the keys so you can easily authenticate to Adalo APIs in both code and no-code steps.

You can access your API key form the left nav > settings gear > app access > Generate API Key. See docs.

About Adalo

No code app development platform

Action

Description:Add or update a single record in your [Pipedream Data Store](https://pipedream.com/data-stores/).
Version:0.0.8
Key:data_stores-add-update-record

Data Stores Overview

With the Data Stores API, you can build applications that:

  • Store data for later retrieval
  • Retrieve data from a store
  • Update data in a store
  • Delete data from a store

Action Code

import app from "../../data_stores.app.mjs";

export default {
  key: "data_stores-add-update-record",
  name: "Add or update a single record",
  description: "Add or update a single record in your [Pipedream Data Store](https://pipedream.com/data-stores/).",
  version: "0.0.8",
  type: "action",
  props: {
    app,
    dataStore: {
      propDefinition: [
        app,
        "dataStore",
      ],
    },
    key: {
      propDefinition: [
        app,
        "key",
        ({ dataStore }) => ({
          dataStore,
        }),
      ],
      description: "Enter a key for the record you'd like to create or select an existing key to update.",
    },
    value: {
      propDefinition: [
        app,
        "value",
      ],
    },
  },
  async run({ $ }) {
    const {
      key,
      value,
    } = this;
    const exists = await this.dataStore.has(key);
    const parsedValue = this.app.parseValue(value);
    await this.dataStore.set(key, parsedValue);
    // eslint-disable-next-line multiline-ternary
    $.export("$summary", `Successfully ${exists ? "updated the record for" : "added a new record with the"} key, \`${key}\`.`);
    return {
      key,
      value: parsedValue,
    };
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Data StoresappappThis component uses the Data Stores app.
Data StoredataStoredata_store

Select an existing Data Store or create a new one.

KeykeystringSelect a value from the drop down menu.
Valuevalueany

Enter a string, object, or array.

Action Authentication

The Data Stores API does not require authentication.

About Data Stores

Use Pipedream Data Stores to manage state throughout your workflows.

More Ways to Connect Data Stores + Adalo

Add or update multiple records with Data Stores API on New Record from Adalo API
Adalo + Data Stores
 
Try it
Delete All Records with Data Stores API on New Record from Adalo API
Adalo + Data Stores
 
Try it
List keys with Data Stores API on New Record from Adalo API
Adalo + Data Stores
 
Try it
Delete a single record with Data Stores API on New Record from Adalo API
Adalo + Data Stores
 
Try it
Get record (or create one if not found) with Data Stores API on New Record from Adalo API
Adalo + Data Stores
 
Try it
New Record from the Adalo API

Emit new event when is created a record.

 
Try it
Create Record with the Adalo API

Create a new record. See docs here

 
Try it
Get Records with the Adalo API

Get all records from a collection. See docs here

 
Try it
Update Record with the Adalo API

Update a record. See docs here

 
Try it
Add or update a single record with the Data Stores API

Add or update a single record in your Pipedream Data Store.

 
Try it
Add or update multiple records with the Data Stores API

Add or update multiple records to your Pipedream Data Store.

 
Try it