Actions57
- Appointment Actions
- Calendar Actions
- Contact Actions
- Conversation Actions
- Custom Field Actions
- Custom Value Actions
- Email Campaign Actions
- Email Stats Actions
- Email Template Actions
- Invoice Actions
- Media Actions
- Note Actions
- Opportunity Actions
- Pipeline Actions
- Tag Actions
- Trigger Link Actions
- User Actions
- Workflow Actions
Opportunity → Clear Custom Fields
AI-generatedSummary
Clear selected custom fields on a GoHighLevel opportunity in the chosen location by writing either an empty string or null to each field. Optionally validate every field ID against that location’s opportunity fields before sending the update.
Inputs
- Location (required) — The sub-account/location to operate on, loaded from the agency credential.
- Opportunity ID (required) — The GoHighLevel opportunity ID to update.
- Fields To Clear (required) — Opportunity custom-field IDs to blank out. Choose fields from the location-scoped list or supply an array of IDs or a comma-separated string by expression. An empty list throws an error and sends no update.
- Clear Value — Value written to each selected field: an empty string (default) or null. The API’s clearing semantics are not documented, so choose the value that works for your fields.
- Validate Field IDs — Defaults to true. Checks each ID against the location’s opportunity custom fields before sending; if any is unknown or belongs to the contact model, the operation fails without clearing any fields. Adds one GET per location per execution.
Output shape
A single GoHighLevel API response for the updated opportunity.
Sends a PUT containing only the selected custom fields; it does not update other opportunity properties. The response is returned as-is.
