← Data Stores

Delete a single record with Data Stores API

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

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Delete 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

Create a workflow to Delete a single record with the Data Stores API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Delete a single record action
    1. Connect your Data Stores account
    2. Configure Data Store
    3. Select a Key
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Delete a single record with Data Stores API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Data Stores
 
Try it
Delete a single record with Data Stores API on New Message from Discord API
Discord + Data Stores
 
Try it
Delete a single record with Data Stores API on New Message In Channels from Slack API
Slack + Data Stores
 
Try it
Delete a single record with Data Stores API on New Message in Channel from Discord Bot API
Discord Bot + Data Stores
 
Try it
Delete a single record with Data Stores API on New Submission from Typeform API
Typeform + Data Stores
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is 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.

Delete a single record on Data Stores
Description:Delete a single record in your [Pipedream Data Store](https://pipedream.com/data-stores/).
Version:0.0.7
Key:data_stores-delete-single-record

Code

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

export default {
  key: "data_stores-delete-single-record",
  name: "Delete a single record",
  description: "Delete a single record in your [Pipedream Data Store](https://pipedream.com/data-stores/).",
  version: "0.0.7",
  type: "action",
  props: {
    app,
    dataStore: {
      propDefinition: [
        app,
        "dataStore",
      ],
    },
    key: {
      propDefinition: [
        app,
        "key",
        ({ dataStore }) => ({
          dataStore,
        }),
      ],
      description: "Select the key for the record you'd like to delete, or enter one manually.",
    },
  },
  async run({ $ }) {
    const record = await this.dataStore.get(this.key);

    if (record) {
      await this.dataStore.delete(this.key);
      $.export("$summary", `Successfully deleted the record for key, \`${this.key}\`.`);
      return record;
    }

    $.export("$summary", `No record found for key, \`${this.key}\`. No data was deleted.`);
  },
};

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
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.

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 Use Data Stores

Actions

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
Check for existence of key with the Data Stores API

Check if a key exists in your Pipedream Data Store or create one if it doesn't exist.

 
Try it
Delete All Records with the Data Stores API

Delete all records in your Pipedream Data Store.

 
Try it
Get all records with the Data Stores API

Get all records in your Pipedream Data Store. The memory consumption of the workflow can be affected, since this action will be exposing, to the workflow, the entire data from the selected datastore.

 
Try it