View as Markdown
Orca Scan icon

Orca Scan ACTION

Add or Update Row

Adds a new row or updates an existing row in a sheet. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Orca Scan account once, then configure and run Add or Update Row from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "orca_scan-add-update-row",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    orca_scan: { authProvisionId: "apn_xxxxxxx" },
    sheetId: "Sheet ID",
    rowData: "Row Data",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Add or Update Row inputs
Property Type Description
sheetId Sheet ID string
The ID of the sheet where the row will be created or updated.
Required Dynamic
rowData Row Data object
The data for the new row to be added or updated. To get the fields, use the Find Row action to find a row and refer to the JSON output.
Required
barcode Barcode string
The barcode value to locate a specific row record. If the barcode is not found, a new row will be created. If the barcode is found, the row will be updated with the data in Row Data.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
orca_scan-add-update-row
Version
0.0.2
App
Orca Scan
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes