sf_create_record

Pack: salesforce · Endpoint: https://gateway.pipeworx.io/salesforce/mcp

Create a new Salesforce record. Specify object type (e.g., ‘Contact’) and field values. Returns the new record ID.

Parameters

NameTypeRequiredDescription
objectstringyesSObject type (e.g., “Account”, “Contact”)
fieldsobjectyesField name/value pairs (e.g., {“Name”: “Acme”, “Industry”: “Tech”})

Example call

Arguments

{
  "object": "Account",
  "fields": {
    "Name": "Acme Corporation",
    "Industry": "Technology",
    "BillingCity": "San Francisco"
  }
}

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_create_record","arguments":{"object":"Account","fields":{"Name":"Acme Corporation","Industry":"Technology","BillingCity":"San Francisco"}}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('sf_create_record', {
  "object": "Account",
  "fields": {
    "Name": "Acme Corporation",
    "Industry": "Technology",
    "BillingCity": "San Francisco"
  }
});

More examples

{
  "object": "Contact",
  "fields": {
    "FirstName": "John",
    "LastName": "Smith",
    "Email": "[email protected]",
    "Phone": "415-555-0100"
  }
}

Response shape

FieldTypeDescription
idstringID of newly created record
successbooleanWhether record was created successfully
errorstringError code if creation failed
messagestringError message if creation failed
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "ID of newly created record"
    },
    "success": {
      "type": "boolean",
      "description": "Whether record was created successfully"
    },
    "error": {
      "type": "string",
      "description": "Error code if creation failed"
    },
    "message": {
      "type": "string",
      "description": "Error message if creation failed"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "salesforce": {
      "url": "https://gateway.pipeworx.io/salesforce/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026