Get Record By ID

This first line, as mentioned before, is a query for data. Using our specified argument, the Contact ID, we are essentially pulling the entire Contact Record’s data to have to be able to reference in our function.

Also, to better understand the naming system I use and why I format my code how I do, see our Deluge Style Guide.

By reading through this, you can easily understand why our defined argument (from the previous video) is spelled CONTACT_ID but our first-line variable is just contactRecord.

No, these are not hard and fast rules. This is how we have chosen to format our Deluge code for readability and understanding. Feel free to adopt it if you want!

See the following links for Deluge tips and tricks: