I'm editing a Visualforce Email Template whose sending is triggered by automation (process builder) that starts with the creation of an Attendee object that meets certain criteria. The Attendee object is the child of an Event parent object and I would like to populate merge fields in the email with data from the Event parent object, but I'm not sure the best way to do that.
I have tried just assigning the Event object as my "relatedToType" in the Visualforce Email Template code, but that doesn't seem to be enough to specify the correct record when I actually test the email outside of the "Send Test and Verify Merge Fields" when I am able to select the "Related To Record" manually. The Attendee object does have an Event field that contains the 15-character ID of the parent record. Assuming that's the correct way to go, how can I use the identity of the parent object (the Event) so that I can use its information in the merge fields?