Importing ZIP codes or create a list | Community
Skip to main content
Question

Importing ZIP codes or create a list


  • Explorer
  • 2 replies

I created a form, where at the last question, I retrieve the coordinates of visitors, including postal codes. I work in a system where depending on the postal code entered by the visitors, it will be redirected to a page. I have to enter the eligible or ineligible postal codes every time and that changes every week. It would take me a long time to enter all the valid postal codes, I do not know if there are other ways to do it, but my problem is that I will have to put about 800 each time.


Is there a way to do this by copying a list or importing data directly?

6 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15018 replies
  • August 11, 2023

Hi @s8pi If you’re using the dropdown option, you can copy/paste a list of zipcodes into the answer options. Though, we don’t have a way to import data directly. :\


  • Author
  • Explorer
  • 2 replies
  • August 14, 2023

Thank you @Liz ! It's already a great solution that we can use if there are no others :) And can we make sure to put a list but internal, that is to say that the person fill in his postal code and if it is not part of our list he will be sent to a message “you are not eligible”

 


Forum|alt.badge.img+4
  • Socializer
  • 113 replies
  • August 14, 2023

Hi @s8pi 

You could also use the Typeform API to automatically add/remove the necessary zip codes.

 

i.e you could have a cron job (running daily) which would retrieve the list of the most recent zipcodes (from your database?) and update your Typeform with the most recent zipcodes via the Typeform API

 

See the below link on how to update your Typeform via the Typeform API

 

https://www.typeform.com/developers/create/reference/update-form-patch/


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15018 replies
  • August 15, 2023

Thanks so much for sharing this, @Harsh ! Let us know if you give this a go, @s8pi 


  • Author
  • Explorer
  • 2 replies
  • August 17, 2023

Thank you for your answers :) I try to execute this solution then come back to tell you if it works


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15018 replies
  • August 21, 2023

How did it go, @s8pi ? Let us know if you need any other help!


Reply