← nocodb

List Records in Table Matching Criteria with nocodb API

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

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
List Records in Table Matching Criteria with the nocodb API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

Create a workflow to List Records in Table Matching Criteria with the nocodb API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the List Records in Table Matching Criteria action
    1. Connect your nocodb account
    2. Select a Project Id
    3. Select a Table Name
    4. Optional- Select one or more Fields
    5. Optional- Select one or more Sort
    6. Optional- Configure Where
    7. Optional- Configure Limit
  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

List Records in Table Matching Criteria with nocodb API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + nocodb
 
Try it
List Records in Table Matching Criteria with nocodb API on New Message in Channel from Discord Bot API
Discord Bot + nocodb
 
Try it
List Records in Table Matching Criteria with nocodb API on New Submission from Typeform API
Typeform + nocodb
 
Try it
List Records in Table Matching Criteria with nocodb API on Custom Events from Zoom API
Zoom + nocodb
 
Try it
List Records in Table Matching Criteria with nocodb API on New Submission (Instant) from Jotform API
Jotform + nocodb
 
Try it

Details

This is a pre-built, source-available 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.

List Records in Table Matching Criteria on nocodb
Description:This action lists all rows in a table. [See the docs here](https://all-apis.nocodb.com/#tag/DB-table-row/operation/db-table-row-list)
Version:0.0.3
Key:nocodb-list-records-matching-criteria

Code

import common from "../common/base.mjs";

export default {
  ...common,
  key: "nocodb-list-records-matching-criteria",
  name: "List Records in Table Matching Criteria",
  description: "This action lists all rows in a table. [See the docs here](https://all-apis.nocodb.com/#tag/DB-table-row/operation/db-table-row-list)",
  version: "0.0.3",
  type: "action",
  props: {
    ...common.props,
    fields: {
      propDefinition: [
        common.props.nocodb,
        "fields",
        (c) => ({
          tableId: c.tableName.value,
        }),
      ],
      optional: true,
    },
    sort: {
      propDefinition: [
        common.props.nocodb,
        "sort",
        (c) => ({
          tableId: c.tableName.value,
        }),
      ],
      optional: true,
    },
    where: {
      propDefinition: [
        common.props.nocodb,
        "where",
      ],
      optional: true,
    },
    limit: {
      propDefinition: [
        common.props.nocodb,
        "limit",
      ],
      optional: true,
    },
  },
  methods: {
    async processEvent() {
      const {
        projectId,
        tableName,
        fields,
        sort,
        where,
        limit,
      } = this;

      const params = {
        projectId,
        tableName: tableName.value,
        query: {
          fields,
          sort,
          where,
          limit,
        },
      };

      const rows = [];
      const paginator = this.nocodb.paginate({
        fn: this.nocodb.listTableRow,
        params,
      });
      for await (const row of paginator) {
        rows.push(row);
      }
      return rows;
    },
    getSummary(response) {
      const suffix = response.length === 1
        ? ""
        : "s";

      return `Returned ${response.length} row${suffix} from ${this.tableName.label} table`;
    },
  },
};

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
nocodbnocodbappThis component uses the nocodb app.
Project IdprojectIdstringSelect a value from the drop down menu.
Table NametableNamestringSelect a value from the drop down menu.
Fieldsfieldsstring[]Select a value from the drop down menu.
Sortsortstring[]Select a value from the drop down menu.
Wherewherestring

Complicated where conditions See the docs here

Limitlimitinteger

Maximum records that will be fetched

Authentication

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

Your API key can be found in API Tokens Management within your database.
Your domain is where you app is hosted, so for https://mytable.com use mytable.com for the domain.

About nocodb

Free & open source Airtable alternative

More Ways to Use nocodb

Triggers

New Record in Table from the nocodb API

Emit new event for each new record in table. See docs here

 
Try it
New Update in Table from the nocodb API

Emit new event for each update in table. See docs here

 
Try it

Actions

Add Record with the nocodb API

This action adds a record in a table. See the docs here

 
Try it
Delete Record with the nocodb API

This action deletes a row in a table. See the docs here

 
Try it
Get Record (from row number) with the nocodb API

This action gets a row by row Id. See the docs here

 
Try it
Update Record with the nocodb API

This action updates a record in a table. See the docs here

 
Try it