Skip to content

Instantly share code, notes, and snippets.

@thesnappingdog
Last active December 1, 2019 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thesnappingdog/5f947d8cf3a03c9c998a30b59535d621 to your computer and use it in GitHub Desktop.
Save thesnappingdog/5f947d8cf3a03c9c998a30b59535d621 to your computer and use it in GitHub Desktop.
This is how the form update script works conceptually.
## Imagine a flowchart, but instead of doodles you have variables
forms = connect to your Hubspot account and load __all__ forms you have
forms_to_update = filter out only the forms that you want updated by keyword
form_id = paste the form ID that you want to use as a template.
form_template = request the specific form and all of its parameters with the form_id
form_constants = Some parameters cannot be copied from the template. Bring them along
bulk_update_forms = update forms with the template and constants.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment