Import users' contacts

Is there a way to import a user’s contacts from Google contacts, or iPhone contacts, or …? Or a workaround that I can build for my users to do something similar (needs to be easy for my users)?

I want users to be able to identify other users they already know on our platform.

I think this is a pretty normal feature on other platforms.

@Darren_Murphy would your Upload CSV tutorial to add multiple data rows be applicable here?

Potentially, yes. Although I haven’t actually done a tutorial for it.

@hirereach - I developed a technique a while back for creating rows from an uploaded CSV file. Essentially it uses JavaScript to fetch and parse the CSV file, and build a JSON payload for adding the required number of rows via the Glide API. Because it uses the API, a minimum of a Pro plan would be required to use it. I haven’t actually used the technique in any App, I just did it as a proof of concept at some prompting from @Robert_Petitto. I do believe that Bob has used a version of it in one of his Apps.

Anyway, below is a short video that demonstrates the approach.

3 Likes

@Darren_Murphy indeed, this looks very cool. Thank you for sharing!

I wonder, however, whether it’s something my users will do (download a .csv file, format it, then upload it). I think they are used to clicking a link in Facebook to do this.

I also hope to have hundreds of users doing this, not just a few, so I’m not sure what sort of stress that will cause from a data perspective…

If you upload a CSV, then it’s not that much of a problem, it’s just that rows that are uploaded by them might not be adjacent to each other, if multiple people upload at the same time.

This is the bigger problem. There’s no direct way for now to import a user’s contacts from Google or iPhone.

1 Like