Last active
December 1, 2019 14:33
-
-
Save thesnappingdog/5f947d8cf3a03c9c998a30b59535d621 to your computer and use it in GitHub Desktop.
This is how the form update script works conceptually.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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