For the complete documentation index, see llms.txt. This page is also available as Markdown.

CreateSObject

Creates a sobject to Salesforce.

Task version: 3.0.0

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

SObjectAsJson : String

SObject structure as json.

Default: - Example: { "Name": "ExampleName" }

SObjectType : String

SObject type. Can be Account, Case, CustomObject, CustomSettings, CustomMetadata, etc...

Default: Account Example: Account

Task Result

Name
Description

Body : Object

Body of the response. Example: {"id": "abcdefghijkl123456789", "success": true, "errors": []}

RequestIsSuccessful : Boolean

Was the request successful? Example: true

ErrorException : Exception

Exception that was thrown by the server. Example: System.Net.Http.HttpRequestException

ErrorMessage : String

Error message from the server. Example: System.Net.Http.HttpRequestException: Request failed with status code Unauthorized

Token : String

OAuth2 access token. Example: abcdefghjklmn123456789

Task Changelog

Changelog for Task Frends.Salesforce.CreateSObject.

[3.0.0] - 2026-04-01

Changed

  • [Breaking Change] Move parameters related to Connection to new Connection parameter.

  • Remove the empty Options parameter.

  • Improve validation of input parameters.

Added

  • Added a new authentication method for authentication by OAuth2 with client credentials

[2.2.0] - 2025-12-12

Changed

  • Change throwing exception logic

[2.1.0] - 2025-03-18

Changed

  • Update packages: Newtonsoft.Json 13.0.1 -> 13.0.3 RestSharp 107.3.0 -> 112.1.0 System.ComponentModel.Annotations 4.7.0 -> 5.0.0 coverlet.collector 3.1.0 -> 6.0.4 dotenv.net 3.2.0 -> 3.2.1 Microsoft.NET.Test.Sdk 16.7.0 -> 17.13.0 MSTest.TestAdapter 2.1.2 -> 3.8.3 MSTest.TestFramework 2.1.2 -> 3.8.3 nunit 3.12.0 -> 4.3.2 NUnit3TestAdapter 3.17.0 -> 5.0.0

[2.0.0] - 2024-08-19

Added

  • Salesforce API version number can now be specified in input.

[1.1.0] - 2024-08-28

Changed

  • Documentation link now links to a correct page in Frends Tasks.

[1.0.1] - 2022-05-27

Changed

  • Fix for issue with referencing result-object in other elements.

[1.0.0] - 2022-05-06

Added

  • Initial implementation of Frends.Salesforce.CreateSObject.

Last updated

Was this helpful?