Written by Digital Aquila team – Salesforce Marketing Cloud experts from Washington D.C.
Many organizations where multiple consultant companies and agencies send emails, need to control users who send emails (so called job performers) and what emails are sent by a particular user.
There is no report, which allows us to find it out.
What is often required is to generate the report who has sent emails for the last 3 months or so, and how many email jobs have been performed by a user.
The nearest solution to answer this question is to use the _Job system data view.
Among other fields, there is a field AccountUserID
|Name||Description||DataType||Data Extension Data Type||Nullable|
|JobID||The job ID number for the email send||int||Number|
|EmailID||The email ID for the job||int||Number||X|
|AccountID||The ID number for the account that performed the job||int||Number||X|
|AccountUserID||The ID number for the account user that performed the job||int||Number||X|
AccountUserID is the ID number for the account user that performed the job.
Every user has its own AccountUserId, but where you can find it?
If you go to the user admin screen, you can’t find any AccountUserId there.
The way we can able to find out the AccountUserId is to use the following SOAP call:
<s:Envelope xmlns:s=”http://www.w3.org/2003/05/soap-envelope” xmlns:a=”http://schemas.xmlsoap.org/ws/2004/08/addressing” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
<s:Body xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
<QueryAllAccounts>true</QueryAllAccounts> // to enable child accounts
The Response to this call will give us the full information about each user
<PartnerKey xsi:nil=”true” />
<ObjectID xsi:nil=”true” />
So now you have all details needed to align users, user_ids and user’s email address in order to build a report that would tell you what users is the most active sender in your instance.
We can build this report for you!
Digital Aquila – Salesforce Marketing Cloud experts can help you to optimize your Salesforce Marketing Cloud operational costs and identify the ROI you get from the platform.
We are based in Washington D.C with offices in Sydney and London.
Reach out to us if you have any questions: firstname.lastname@example.org
Reach out: email@example.com