11 votes

How to test API integration in marketing cloud?

The most basic way to test it is to authenticate using POSTMAN: Based on the package you installed, use the correct endpoint specified in the Installed Package: For v1: POST: https://xxxxx.auth....
user avatar
  • 10.3k
6 votes

REST API error: Primary key '(primarykey)' does not exists

In the POST you're missing key: before your DE's External Key, so it should be like this : POST /hub/v1/dataevents/key:DE_external_key/rowset
user avatar
  • 413
5 votes
Accepted

WSProxy to retrieve TriggeredSendSummary report

You will need to convert the object to a string. Replace Write(res.Results.Sent); with Write(Stringify(res.Results)); to display the Results array. However, I see you would like to specifically ...
user avatar
  • 15.6k
5 votes
Accepted

SFMC Rest API Transactional Email Send or Transactional Journey or Single Send Journey?

As EazyE states, a = c. From there onwards, this is a pretty layered question. Definitely you cannot use Single Send Journeys / Transactional Journeys interchangeably. Opening remark: The term "...
user avatar
4 votes

FuelOAuth node is missing in Marketing cloud WSDL

Here's an example SOAP envelope header with fueloauth: <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://...
user avatar
  • 10.3k
4 votes
Accepted

How Can I Programmatically Update Multiple non-sendable DEs to be Sendable?

The only way to do this programmatically is to use WSProxy to update the DataExtension object. You are right, you need to update those three fields. Here is an example call that will update a single ...
user avatar
  • 10.3k
4 votes

Salesforce Entry Data Object restrictions in Journey Builder

There are some granular permissions regarding how has access to these on the journey canvas, outlined in this help doc. Some Marketing Cloud customers want their users to access Salesforce events ...
user avatar
  • 7,367
4 votes
Accepted

Disable Multi Factor Authentication (MFA) Notification in SFMC

It appears the only way to disable this notification is to enable MFA. According to these release notes this will become mandatory at some point
user avatar
  • 7,367
3 votes

How to synchronize a Filter DE based of a Synchronized DE

EDIT There is a possibility of automating a Data Filter in Automation Studio (Automatically refresh a Filtered Data Extension), but it won’t work with a Synched DE. On top of that, if you try ...
user avatar
  • 10.3k
3 votes
Accepted

How to handle testing in marketing cloud? can you have a marketing cloud testing instance and push into a production instance as in SFDC via API?

Before you license a brand new SFMC you should read up on multi-org setup for the marketing cloud connector. https://help.salesforce.com/articleView?id=mc_co_multi_org_account_configuration.htm&...
user avatar
  • 521
3 votes
Accepted

Is it Possible to Add Email Addresses to the Notification Settings of an Automation via the API?

The answer is NO. There is no way to add an email to the notification settings of an automation. Actually, there is an option in the Soap request on the help page that "normally" adds this parameter,...
user avatar
  • 3,676
3 votes
Accepted

Set a Blackout period on Triggered Send Definition?

I believe you are looking for send throttling. This should allow you to specify both the time range you want to send between as well as the volume you want to send each hour. You will need SF support ...
user avatar
3 votes
Accepted

Journey Builder API to extract total populations

To gather history, you can use the following rest endpoint: {{endPoint}}/interaction/v1/interactions/journeyhistory/search?$page=1&$pageSize=6000 Please note that if you do not put ?$page=1&$...
user avatar
  • 27.9k
3 votes

Creates a trigger send definition in Marketing Cloud Using REST API or SSJS

This REST Route is only for transactional messaging, which does not have a UI component currently. If you want the API calls for triggeredsends within the UI, you would need to use SOAP to create ...
user avatar
  • 7,367
3 votes

Unable to find Triggered Send in marketing cloud

Are you using the relatively new Transactional Messaging API? If this is the case, you will not find any UI for managing those sends, and all operations, such as updating the send definitions when ...
user avatar
  • 16.9k
3 votes
Accepted

Send a transactional message via API with automatically created unique identifier

The documentation is slightly inaccurate here. The difference is found between these two pages: https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/...
user avatar
  • 16.9k
3 votes
Accepted

Dynamically send Attachment from Marketing Cloud

The answer to all your questions is yes: you can store pdfs or other files either in Content Builder or in your sFTP you can use AMPscript to attach the files to your emails you can use AMPscript to ...
user avatar
  • 10.3k
3 votes
Accepted

Using Salesforce AMPscript functions in Marketing Cloud - Limitations

Documentation about MC Connect and authentication between clouds: https://help.salesforce.com/articleView?id=mc_co_authentication.htm&type=0 Quote from above documentation: "Connected App ...
user avatar
3 votes

Get count of all contacts in Marketing Cloud programmatically

A seemingly simple question, but you really have to involve a few things in SFMC. A bit of a chain of things to prepare inside SFMC, but then pretty straightforward. Note, as you will need automation ...
user avatar
3 votes
Accepted

Pass value from Ampscript to SSJS Sleep function

In your SSJS part, use Variable.GetValue var milliseconds = Variable.GetValue("@ms") in the opposite direction, it works with SetValue. See docs for each: GetValue, SetValue As well as more ...
user avatar
3 votes

UnknownHostException while calling Marketing Cloud endpoint

I honestly would prefer to put this into the comments, but they don't leave much space. Based on your reference to the Salesforce forum (maybe contrary to Sander de Jong) I assume you do not actually ...
user avatar
3 votes
Accepted

Can I give very specific rights to an API user in Marketing Cloud?

No, the only permissions you can manage are the ones you can see in the Server-to-Server Properties of the package:
user avatar
  • 16.9k
2 votes

Loading time to read and display Data Extension rows with JS in CloudPages

This would definitely be better done having the third party access the API directly, and not via a cloud page. Adding in the CloudPage just brings in overhead that isn't necessary. Depending on the ...
user avatar
2 votes
Accepted

How to deploy data extension between SFMC orgs without putting all fields manually

In the June release, Deployment Manager can achieve this for you. But this post shows you retrieve all the fields in the DE <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="...
user avatar
  • 7,367
2 votes

Child Automation run as step in Parent Automation?

Although there is no way to accurately make what you are asking, if you instead break up each part into multiple automations to accomplish the same tasks, it can be possible. For instance instead of: ...
user avatar
  • 27.9k
2 votes

Storing data from cloud page to salesforce using Rest API

In order to interact with / write to Salesforce CRM from CloudPages without using Marketing Cloud Connect, you can access the Salesforce CRM REST-API. The easiest way to do so is by using the ...
user avatar
2 votes
Accepted

Sending SMS after subscribing through Landing Page

If you want to trigger an SMS and use a data extension and don't want to use the Smart Capture approach as described by fromero, you need to use the REST API. You can do this with use of QueueMO ...
user avatar
2 votes

Copy the data extension records into another data extension using Ampscript or SSJS

I would never use neither Ampscript nor SSJS to copy data across data extensions. Both from performance and from configuration perspective, Query Activities in Automation Studio are far superior. The ...
user avatar
  • 16.9k
2 votes

Set Email Subject and Body From API

This is fairly well documented in the SFMC Content Builder API documentation as @EazyE has stated in comments. Here is a quick sample of the payload for the REST call to build an asset: { "name": ...
user avatar
  • 27.9k
2 votes

Marketing Cloud API Get Contacts Who Are Not in Any Channel

There's no way to query all contacts at the moment. You need to raise a support ticket to get an extract in a data extension. I described the reason and the way to proceed here. With this base data ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible