Install
openclaw skills install @tomgranot/cleanup-formsAudit and remove unused, test, or deprecated forms from HubSpot. Identifies forms with zero submissions, forms not embedded on any page, and test forms left over from development.
openclaw skills install @tomgranot/cleanup-formsAudit HubSpot forms to remove unused and test forms. Stale forms clutter the forms dashboard and can cause confusion when building workflows or reports.
.envhubspot-api-client installed via uvPull all forms via the API:
from hubspot import HubSpot
api_client = HubSpot(access_token=os.getenv("HUBSPOT_API_TOKEN"))
forms = api_client.marketing.forms.forms_api.get_page(limit=100)
For each form, record: form ID, name, type, submission count, created date, last submission date.
Flag forms matching any of these criteria:
Before deleting, check:
[TEAM] - Purpose - Version (e.g., [Marketing] - Webinar Registration - v2).