sf_update_record

Pack: salesforce · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/sf_update_record for the schema, then POST the same URL with its arguments for the data.

Update an existing Salesforce record by ID. Specify object type and field values to change. Returns success status.

Parameters

NameTypeRequiredDescription
objectstringyesSObject type (e.g., “Account”)
idstringyesSalesforce record ID
fieldsobjectyesField name/value pairs to update

Example call

Arguments

{
  "object": "Account",
  "id": "001xx000003DHP",
  "fields": {
    "Industry": "Finance",
    "AnnualRevenue": 5000000
  }
}

curl

curl -X POST https://gateway.pipeworx.io/salesforce/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sf_update_record","arguments":{"object":"Account","id":"001xx000003DHP","fields":{"Industry":"Finance","AnnualRevenue":5000000}}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('sf_update_record', {
  "object": "Account",
  "id": "001xx000003DHP",
  "fields": {
    "Industry": "Finance",
    "AnnualRevenue": 5000000
  }
});

More examples

{
  "object": "Contact",
  "id": "003xx000004TM1",
  "fields": {
    "Email": "[email protected]",
    "Phone": "415-555-0200"
  }
}

Response shape

FieldTypeDescription
successbooleanWhether record was updated successfully
errorstringError code if update failed
messagestringError message if update failed
Full JSON Schema
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Whether record was updated successfully"
    },
    "error": {
      "type": "string",
      "description": "Error code if update failed"
    },
    "message": {
      "type": "string",
      "description": "Error message if update failed"
    }
  }
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the salesforce pack
{
  "mcpServers": {
    "salesforce": {
      "url": "https://gateway.pipeworx.io/salesforce/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 31, 2026