1

I have a situation where I would like to update custom object records in Sales Cloud as emails to associated contacts are sent in Marketing Cloud (so a different record is updated for each email message sent). The send's audience is a data extension that contains the custom object record IDs for each recipient. So, I can theoretically use a bit of AMPScript in the email and the UpdateSingleSalesforceObject function to do this. But my question is: how well will this scale when we do sends of 50,000-100,000 or more messages?

Does UpdateSingleSalesforceObject cache updates until the whole send is done, and only process them then? Does it send data to Sales Cloud in batches? Or is it actually okay to send 100,000+ record updates in a stream back through the Connector as the send happens? How much will this slow down my sends?

Just wondering if anyone has done this at any sort of scale, and how well it works; or if there are alternatives folks here would recommend that don't involve expensive middleware or a lot of moving parts. Thank you in advance!

2
  • 3
    It will slow down your send significantly and I would advise against using any of the Sales/Service Cloud AMPscript functions in batch email sends. With this kind of volume, it would be best to look into the Bulk API (salesforce.stackexchange.com/questions/286883/…) or tools like Mulesoft to send the updates back to Sales Cloud.
    – zuzannamj
    May 18, 2020 at 22:01
  • Hi, thank you for your reply. I was hoping for a little more detail: have you tried using UpdateSingleSalesforceObject in emails? What degree of slow-down did you experience? Did mass sends fail, or was the slow-down the only impact? I do appreciate the link, and if that ends up being the best answer I'll be happy to mark it as such. But I was recommended this solution by someone at SFDC, so was seeking more information on it--that's why I explicitly included the note about avoiding middleware like Mulesoft, etc.
    – MattD
    May 26, 2020 at 14:58

0

You must log in to answer this question.

Browse other questions tagged .