whats the total number of es in:
q: cloud page - save to salesforce im creating a custom profile page and i want to save some information in a custom object in salesforce. how would i go about doing this? i assume i would be using ssjs rather than ampscript. thanks in advance, appreciate any pointers.

a: ampscript would definitely be the way to go, assuming you have marketing cloud connect configured. there are different ampscript functions for creating and updating records in standard or custom objects.
create new record
var @createrecord
set @createrecord = createsalesforceobject(
      mycustomobjectapiname__c, 3,
      field1__c, @field1,
      field2__c, @field2,
      field3__c, @field3
   )

update existing record
var @updaterecord
set @updaterecord = updatesinglesalesforceobject(
    mycustomobjectapiname__c, @id,
    field1__c, @field1,
    field2__c, @field2,
    field3__c, @field3
   )

refer to sales and service cloud functions documentation for details on which arguments to use with these functions.

a: @nicolevy try like this for creating new record in custom object
%%[ 
  set @createrec=createsalesforceobject(customobject, 2, field1, value1, field2, value2)

   ]%%


user
The given text has 111 "e"s.
assistant