Skip to content

Instantly share code, notes, and snippets.

View codefriar's full-sized avatar

Kevin Poorman codefriar

View GitHub Profile
@codefriar
codefriar / Invocable_TriggerMCEvent.cls
Last active January 30, 2024 06:21
MCMessagingUtils is an Apex class used to trigger journey builder actions and push messages from Salesforce service and sales cloud.
public with sharing class Invocable_TriggerMCEvent {
@InvocableMethod(label='Send Message with new Comment to Reporter' description='Send Message with new Comment to Reporter')
public static void TriggerMCEvent(List<String> contactKey) {
MCMessagingUtils.triggerMCInteractionEvent(contactKey[0]);
}
}