Know who logs in to your site and get the list of user emails imported to Google Sheets.
When you integrated Cotter to your site and a user logs in using Cotter Login Form, Cotter will immediately create a new user for you. This user is stored in Cotter's database and can be accessed through our Zapier integration. Using Zapier, you can send user data to Google Sheets. The user data that are available are defined in the documentation for User object.
Create a new Google Sheets.
Add headers on the first row, like below. See this Google Sheets Example.
Add Cotter Zap using this invite link: https://zapier.com/developer/public-invite/116551/4631eb564ecce1c57f7fe88aa8c90671/.
Click "Make a Zap".
Under "When this happens ..." choose "Cotter" and let the trigger be "New User".
Enter your API Keys as instructed. You can get your Cotter API Keys from Cotter's Dashboard.
Find Data to see a test data.
If this is a new project and you do not have a user yet, you'll see "We couldn’t find an user". Create a new user in your Cotter (1.0.0) Zapier - https://zapier.com/ account and test your trigger again.
Try logging-in into your website's "Cotter Login Form" located on your login page. Use an email address that you have access to. Once the login is successful, Cotter will automatically create a new user.
Test the integration again.
Under "Do this ...", choose Google Sheets.
Choose action: "Create Spreadsheet Row".
Login to the Google Account that you used to create the Google Sheets in the Google Sheets Setup section above.
Select the Spreadsheet and the Worksheet which contain the headers in the Google Sheets Setup section above.
Fill in the rest of the fields as follows:
6. Click "Continue" and then "Test & Review". You should see a row of record added to your Spreadsheet.
7. If it succeeded, you can turn on the Zap and it will insert new users to your Spreadsheet. (Zapier will check for new users every 2 minutes, please be patient when testing or click Run to fetch the data).
You should be able to see something like this in your Google Sheets.
Under the "identifier" section, you will see all emails that log in to your website (a list of your users' emails).
Come and talk to the founders of Cotter and other developers who are using Cotter on Cotter's Slack Channel.
If you need help, ping us on our Slack channel or email us at email@example.com.