When building an automation, we used to be able to add opportunity fields as merge variables. However, this recently went missing. Please see screenshot.
This may be related to a bug that was introduced as part of this recently completed feature update: https://ideas.gohighlevel.com/automations/p/add-opportunity-custom-fields-into-automations-merge-variables