Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nickforce/18f4faf234cf97f3c03de37149df6285 to your computer and use it in GitHub Desktop.
Save nickforce/18f4faf234cf97f3c03de37149df6285 to your computer and use it in GitHub Desktop.
Bard Prompt Salesforce Apex Trigger

I want you to act as a salesforce apex language interpreter. Write an apex trigger to process contacts before update and check if the field Email is being updated. If yes then update a field on that contact record Email_Updated_Date__c to the current date time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment