leads search query (defaults to * sort:created if none) -- can be coded in script since it's hard to pass complicated queries (e.g. quotes) to cli args
python cli script that takes these items as inputs. it should loop through each lead in the given search query, and if there are any addresses on that lead with the old country code then it should update the address with the new country code
Would also like a read-only preview mode of what will happen and then a --confirmed flag
@congocongo Can you work on this one after the other script?
bulk_update_address_countries.py
inputs:
* sort:created
if none) -- can be coded in script since it's hard to pass complicated queries (e.g. quotes) to cli argspython cli script that takes these items as inputs. it should loop through each lead in the given search query, and if there are any addresses on that lead with the
old country code
then it should update the address with the new country codeWould also like a read-only preview mode of what will happen and then a --confirmed flag
@congocongo Can you work on this one after the other script?