Creates a new campaign in Salesforce. Only `name` is universally required, but org-level validation rules commonly enforce `type`, `status`, `start_date`, and `end_date` as well — omitting them may cause creation to fail.
nameRequiredstringCampaign name (required field in Salesforce).
typestringType of campaign.
statusstringCurrent status of the campaign.
end_datestringCampaign end date in YYYY-MM-DD format.
is_activebooleanWhether the campaign is currently active. Depending on org configuration, setting to `true` may require valid `start_date`/`end_date` ranges; violations raise a non-retriable `CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY` error.
parent_idstringID of the parent campaign if this is a child campaign.
start_datestringCampaign start date in YYYY-MM-DD format.
actual_costnumberActual cost spent on the campaign.
descriptionstringDetailed description of the campaign.
number_sentnumberNumber of individuals targeted by the campaign.
budgeted_costnumberBudgeted cost for the campaign.
custom_fieldsobjectDictionary of custom field names and their values. Custom field names should end with '__c' (e.g., 'Priority__c', 'Region__c'). Values can be strings, numbers, booleans, or dates depending on the field type.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.