Automating Bulk Messages
  • 03 Feb 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Automating Bulk Messages

  • Dark
    Light

Article Summary

Automating Bulk Messages

Be sure to populate the following fields on your automated bulk SMS records:

  • IsBatchTransaction = TRUE
  • Batch Group ID (a random, unique string), using code such as:

static public String createRandomNumberGroupId() {

Blob b = Crypto.GenerateAESKey(128);

String h = EncodingUtil.ConvertTohex(b);

return(h.SubString(0, 8) + '-' + h.SubString(8, 12) + '-' + h.SubString(12, 16) + '-' + h.SubString(16, 20) + '-' + h.substring(20));

}


Was this article helpful?