NoCodeAPI

Welcome new subscribers through automated emails

We are going to build an app that can help you sell your tickets, welcome new subscribers, or send a greeting card in response to a contact form. We are going to use NoCodeAPI, Google Sheets and Zapier integrations.

Let’s start.

Step 1 : Create a Google Sheet with Proper headers

  • Click here to go to Google Sheets website
  • Create a new sheet and give it a name of your choice e.g Feedback Form
Welcome new subscribers through automated emails
  • Create 3 x tabs of this sheet :- FeedbackContact & a Newsletter
  • Create Column Headers in each tab.

Feedback Tab

  • Headers = Name, Email, Message
Welcome new subscribers through automated emails

Contact Tab

  • Headers = Email, Message
Welcome new subscribers through automated emails

Newsletter Tab

  • Headers = Email
Welcome new subscribers through automated emails

Step 2 : Create NoCodeAPI endpoint to manage your google sheet

  • Click here to Sign in to NoCodeAPI dashboard
  • Find Google Sheet in the marketplace and click “Activate”
  • Click on “Make Google Sheets API”
Welcome new subscribers through automated emails
  • A side bar appears asking you to “Choose an account”, a “name” and your “sheet Id”.
Welcome new subscribers through automated emails
  • As you press “Choose an account”, NoCodeAPI will ask you for permissions to manage your Google Sheets. Select “Allow”.
  • Write a custom name of the endpoint, e.g – feedback form
  • Enter the “sheet Id”. The sheet Id is present in the URL of your google sheets. If your URL is https://docs.google.com/spreadsheets/d/18RlOial666ScKU5wQrosebbCQmUJfbfe3Z2vGup1sTU/edit#gid=0; then your sheet Id is the part between d/ and /edit. In this case it is 18RlOial666ScKU5wQrosebbCQmUJfbfe3Z2vGup1sTU. Enter this sheet Id in the NoCodeAPI Form.
  • Click “Create”.

Step 3 : Update React Form in CodeSandbox

We have prepared a sample React app to demonstrate NoCodeAPI in action.

Welcome new subscribers through automated emails
  • Click here to open the React App in CodeSandbox.
  • We are going to edit 4 x URLs in following 4 x files.

App.js

  • Update the a tag’s href attribute with your own Google Sheet URL.
Welcome new subscribers through automated emails

Contact.js

  • Update the POST request URL with your NoCodeAPI endpoint. Make sure, you alter the part before the ? mark. Do not alter tabId, as it is the Sheet Name where we are going to place the data.
Welcome new subscribers through automated emails

Feedback.js

  • Update the POST request URL just like you did for Contact.js file.
Welcome new subscribers through automated emails

Newsletter.js

  • Update the POST request URL like you did for Contact.js and Feedback.js files.
Welcome new subscribers through automated emails

Step 4: Test if these forms are working

  • On the “Preview window” of CodeSandbox, fill all three forms and submit.
  • You should see a success message showing up under the buttons.
  • Go to your “Google Sheets” to make sure these values are updated in all three tabs i.e Feedback, Contact and Newsletter.
Welcome new subscribers through automated emails

Step 5: Connect Zapier to welcome new users

  • Click here to Sign Up to Zapier.
  • As you reach zapier home, you can see the existing zaps listed on the dashboard.
Welcome new subscribers through automated emails
  • Click here to find above sample
  • Connect your Google Account in the zap’s first step.
Welcome new subscribers through automated emails
  • Select the Google Sheet “Feedback Form”
Welcome new subscribers through automated emails
  • Select Worksheet tab in the next step. Note that we need 3 x zaps to connect all 3 x forms. In this tutorial we are connecting only 1 tab i.e > ‘Feedback’ tab.
  • In the “Trigger Column” dropdown, select the “clear” button.
  • If all is setup right, you should see the “Test trigger” dropdown like below.
Welcome new subscribers through automated emails
  • Press “Continue”
  • In the “Action” part of our zap, we are going to send the email to the person who submitted this Feedback.
Welcome new subscribers through automated emails
  • In “Choose Account” dropdown, select the email which you want to send email from.
Welcome new subscribers through automated emails
  • In “Set up action” dropdown, we are going to update following inputs

  • To = 1.EMAIL (this is the email of our last updated row in google sheet) Description. zapier action portion, connects the sample data of latest google sheet entry to make it easier to understand. Like 1.Email is showing our last google sheet entry.

Welcome new subscribers through automated emails
  • From = Select the only email showing up in the drop down. It is the email which will send an email to your users.
Welcome new subscribers through automated emails
  • From Name = This is the name that shows up in your user’s inbox.
  • Subject = Give the email a welcoming subject e.g Contacting you soon
Welcome new subscribers through automated emails
  • Body Type = Keep it Plain. If you know HTML, you can beautify your email as you wish.
  • Body = Format your email body here. Elaborate your email while keeping it concise.
Welcome new subscribers through automated emails
  • Signature = If you have listed your signature on gmail, you can select it here. You may leave this part.
  • Label / Mailbox = Select the dropdown to “INBOX” to make sure your emails do not land in Junk mail.
  • Attachments = If you want to send an attachment to user e.g presentation, a book or invoice, you can attach it here.
Welcome new subscribers through automated emails
  • Select “Continue”
Welcome new subscribers through automated emails
  • Select “Test & Continue”
  • At the bottom of the page you can find a toggle switch asking you to Turn On the zap. Go ahead and switch it on.
Welcome new subscribers through automated emails

Step 6: Test the complete Integration

Welcome new subscribers through automated emails
  • Go to the CodeSandbox forms and fill in the required information.
  • Submit the Feedback form and it should show you a success message below the button.
  • After few seconds you will find that a properly formatted email is sent to the users’s email address. You can find it in your “Sent” mailbox folder.

Step 7 : Create the remaining zaps

We built only 1 zap in this tutorial. Currently, only Feedback form submit will send an email. To integrate the remaining forms, we need 2 x additional zaps. You can repeat Step 5 and 6 for the other forms i.e Contact Form and Newsletter Form.

Conclusion

You can use NoCodeAPI – Google Sheet – Zapier integration to build numerous use cases. For example,

    • You can send a list of your previous newsletters to a new subscriber.
    • You can send a Greeting card when a new user registers for an event.
    • You can send log in details to your users where you do not want to build your own Sign Up / Sign In scenario.
    • and much more.

This is it...

We hope you enjoyed reading this tutorial.

We are working on some cool new features on NoCodeAPI. You can motivate us at @nocodeapi. Thanks for reading. Happy Coding 🔥.

BLACK FRIDAY Month STARTED - Coupon: BF2023 for 50% OFF