Salesforce Marketing Cloud
App · 20 actions
Connect Salesforce Marketing Cloud to automate content, campaigns and journeys.
Actions
| Action | What it does |
|---|---|
| Create asset | Create a Content Builder asset with a name and asset type, optionally with content and a folder. |
| Create campaign | Create a campaign with a name, and optionally a description and campaign code. |
| Create category | Create a Content Builder folder (category) with a name inside a parent folder. |
| Delete asset | Delete a Content Builder asset, such as an email or image, by its ID. |
| Delete campaign | Delete a campaign by its ID. |
| Delete category | Delete a Content Builder folder (category) by its ID. |
| Get asset | Get one Content Builder asset by its ID, including its name, type, folder and content. |
| Get campaign | Get one campaign by its ID, with its name, description, campaign code and color. |
| Get campaign asset | Get one asset associated with a campaign. |
| Get category | Get one Content Builder folder (category) by its ID, with its name and parent folder. |
| Get event definition | Get one journey entry event definition by its ID, with its name, event key, type and data extension. |
| Get journey | Get one Journey Builder journey by its ID, including its status, entry source, activities and settings. |
| List assets | List the assets in Content Builder, such as emails, templates, blocks and images, a page at a time, with each asset's ID, name and type. |
| List campaign assets | List the assets associated with a campaign, by campaign ID, with each association's asset type and ID. |
| List campaigns | List the campaigns in your account, a page at a time, with each campaign's ID, name, description and campaign code. |
| List categories | List the Content Builder folders (categories), a page at a time, with each folder's ID, name and parent folder. |
| List event definitions | List the entry event definitions that start journeys, a page at a time, with each event's ID, name, event key and data extension. |
| List journeys | List the Journey Builder journeys in your account, a page at a time, with each journey's ID, name, version and status. |
| Update asset | Change a Content Builder asset by its ID, such as its name, type, content or folder. |
| Update category | Rename a Content Builder folder (category) or move it to another parent, by its ID. |
Create asset
Create a Content Builder asset with a name and asset type, optionally with content and a folder. Returns the new asset with its ID.
Inputs
- Name
nametextRequired - Name for this request.
- Asset type id
asset_type_idnumberRequired - Asset type id for this request.One of:
197,207,208,209,210,211,212,213,214,215,216,220. - Content
contenttext - Content for this request.
- Category
category_idnumber - Category id for this request.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Create campaign
Create a campaign with a name, and optionally a description and campaign code. Returns the new campaign with its ID.
Inputs
- Name
nametextRequired - Name for this request.
- Description
descriptiontext - Description for this request.
- Campaign code
campaign_codetext - Campaign code for this request.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Create category
Create a Content Builder folder (category) with a name inside a parent folder. Returns the new folder with its ID.
Inputs
- Name
nametextRequired - Name for this request.
- Parent id
parent_idnumberRequired - Parent id for this request.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Delete asset
Delete a Content Builder asset, such as an email or image, by its ID.
Inputs
- Asset
asset_idnumberRequired - Asset id for this request.At least 1.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": null,
"has_more": false,
"next_cursor": null
}Delete campaign
Delete a campaign by its ID.
Inputs
- Campaign
campaign_idnumberRequired - Campaign id for this request.At least 1.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": null,
"has_more": false,
"next_cursor": null
}Delete category
Delete a Content Builder folder (category) by its ID.
Inputs
- Category
category_idnumberRequired - Category id for this request.At least 1.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": null,
"has_more": false,
"next_cursor": null
}Get asset
Get one Content Builder asset by its ID, including its name, type, folder and content.
Inputs
- Asset
asset_idnumberRequired - Asset id for this request.At least 1.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Get campaign
Get one campaign by its ID, with its name, description, campaign code and color.
Inputs
- Campaign
campaign_idnumberRequired - Campaign id for this request.At least 1.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Get campaign asset
Get one asset associated with a campaign.
Inputs
- Campaign id
campaign_idnumberRequired - The campaign id.At least 1.
- Asset
asset_idnumberRequired - The asset id.At least 1.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Get category
Get one Content Builder folder (category) by its ID, with its name and parent folder.
Inputs
- Category
category_idnumberRequired - Category id for this request.At least 1.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Get event definition
Get one journey entry event definition by its ID, with its name, event key, type and data extension.
Inputs
- Event id
event_idtextRequired - Event id for this request.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Get journey
Get one Journey Builder journey by its ID, including its status, entry source, activities and settings.
Inputs
- Journey id
journey_idtextRequired - Journey id for this request.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}List assets
List the assets in Content Builder, such as emails, templates, blocks and images, a page at a time, with each asset's ID, name and type.
Inputs
- Page
pagenumber - Page for this request.At least 1.
- Page size
page_sizenumber - Page size for this request.From 1 to 50.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}List campaign assets
List the assets associated with a campaign, by campaign ID, with each association's asset type and ID.
Inputs
- Campaign
campaign_idnumberRequired - Campaign id for this request.
- Page
pagenumber - Page for this request.At least 1.
- Page size
page_sizenumber - Page size for this request.From 1 to 50.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}List campaigns
List the campaigns in your account, a page at a time, with each campaign's ID, name, description and campaign code.
Inputs
- Page
pagenumber - Page for this request.At least 1.
- Page size
page_sizenumber - Page size for this request.From 1 to 50.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}List categories
List the Content Builder folders (categories), a page at a time, with each folder's ID, name and parent folder.
Inputs
- Page
pagenumber - Page for this request.At least 1.
- Page size
page_sizenumber - Page size for this request.From 1 to 50.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}List event definitions
List the entry event definitions that start journeys, a page at a time, with each event's ID, name, event key and data extension.
Inputs
- Page
pagenumber - Page for this request.At least 1.
- Page size
page_sizenumber - Page size for this request.From 1 to 50.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}List journeys
List the Journey Builder journeys in your account, a page at a time, with each journey's ID, name, version and status.
Inputs
- Page
pagenumber - Page for this request.At least 1.
- Page size
page_sizenumber - Page size for this request.From 1 to 50.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Update asset
Change a Content Builder asset by its ID, such as its name, type, content or folder. Returns the updated asset.
Inputs
- Asset
asset_idnumberRequired - Asset id for this request.At least 1.
- Name
nametext - Name for this request.
- Asset type id
asset_type_idnumber - Asset type id for this request.One of:
197,207,208,209,210,211,212,213,214,215,216,220. - Content
contenttext - Content for this request.
- Category
category_idnumber - Category id for this request.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Update category
Rename a Content Builder folder (category) or move it to another parent, by its ID. Returns the updated folder.
Inputs
- Category
category_idnumberRequired - Category id for this request.At least 1.
- Name
nametext - Name for this request.
- Parent id
parent_idnumber - Parent id for this request.
Outputs
dataobject- The service response, including all records and metadata.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}