BizMagnets Docs
API DocsStatusVisit our websiteRaise Ticket
  • Welcome to BizMagnets
  • SET-UP BIZMAGNETS ACCOUNT
    • Create an account in BizMagnets
    • Requirements to get started with your own number
    • Activate WhatsApp Business API on your own number
    • Migration
  • WHATSAPP CHANNEL
    • Creating WhatsApp Channel
    • Meta Business Verification
    • Required Documents for Facebook Business Verification
    • Drive traffic to your WhatsApp number using Quick Links
    • Display Name
      • Display Name Rejection and Appeal
    • How to change your Display Name
    • Facebook Business Verification Grayed Out, Not Visible or Disabled
    • Messaging Limits & Quality Ratings
    • WhatsApp Business API Errors
    • Business Phone Numbers
    • Support with Meta
    • WhatsApp Chat Widget
    • Supported Media Types
    • Unsupported Messages
    • FAQs
  • BLUE TICK VERIFICATION
    • WhatsApp Blue Tick Verification
    • How to Apply for Blue Tick Verification?
    • What if Your Application Gets Rejected?
    • FAQs
  • Conversation
    • Initiate Conversation
    • Sales Inbox
  • Support Inbox
  • FAQs
  • Contacts
    • Add Contact
    • Export Contacts
    • Contact Deletion
    • Contact Management
    • Opt-in Management
    • Community
      • New Community
      • Existing Community
    • Companies
  • TEMPLATE
    • BizMagnets Template Messages
    • Template Categories
    • Create and Edit Template
    • Carousel Marketing Templates
    • Product Marketing Templates
    • Coupon Marketing Template
    • Limited Time Offer Templates
    • Order Details Template
    • Authentication Template
    • FAQs
  • BOT FLOWS
    • Things to Know Before Building Your First Bot
    • BizMagnets Chatbot
    • Chatbot Flows and Analytics
    • Creating Flow in BizMagnets
    • Send Card
      • Text
      • Media
      • Template
      • CTA URL
      • Flow
      • Location
      • Payments
      • Voice
    • Ask Questions
      • Text
      • Button Option
      • List Option
      • Address
      • Flow
      • Keywords
      • Location
      • Current Location
      • Number
      • Mail
      • Date
      • Link
      • File
    • Logic
      • Condition
      • Delay
      • Variables
      • Switch
      • Jump To
      • Replace Text
      • Check Geofence
    • Integrations
      • Connect Your System with the WhatsApp Chat Bot Using API
      • Send Your WhatsApp Data to Zoho CRM Using Chatbot
      • Send Payment Links via WhatsApp Chatbot Using Razorpay Integration
      • Connect WhatsApp and Google Sheets to Collect Responses
      • Connect Shopify and WhatsApp to Collect Orders via Chatbot
      • Send your WhatsApp data to Sangam CRM using Chatbot
      • Send your WhatsApp data to WooCommerce using Chatbot
      • Connect ChatGPT with WhatsApp in BizMagnets Chatbot
      • Send Your WhatsApp Data to Zoho Bigin Using Chatbot
      • Send Your WhatsApp Data to HubSpot Using Chatbot
      • Send Payment Links via WhatsApp Chatbot Using Cashfree Integration
      • Send Payment Links via WhatsApp Chatbot with Telr Integration
    • Catalogue
      • Send Products
    • Actions
      • Assign Conversation
      • Set Tag
      • Remove Tag
      • Update Chat Status
      • Update Contact Fields
      • Trigger Sequence
      • Add Notes
    • Ticketing
      • Tickets
      • Create Ticket
      • Ticket Media
      • Get Tickets
    • Appointments
      • Appointment Flow
      • Appointment Confirmation
      • Set Members
    • Set Up Default Bot
    • Bot Management
    • FAQs
  • CAMPAIGN
    • BizMagnets Campaign
    • Campaign set up
    • Check and Test the Campaign
    • Campaign Analytics and Report
    • FAQs
  • WHATSAPP DRIP CAMPAIGN
    • Understanding Drip Marketing
    • Basics of Drip Campaign
    • Create New Drip Campaign
    • Drip Campaign Message Management
    • Campaign Management Options
    • Drip Campaign Analytics
    • FAQs
  • CTWA
    • CTWA in BizMagnets
    • Create your Ad Campaign
    • FAQs
  • INTEGRATION
    • E-commerce Platforms
      • Shopify
        • Workflows for Shopify
      • WooCommerce
        • Workflows for WooCommerce
      • WooCommerce Cart Abandonment Recovery
    • Shipping and Logistics
      • ShipRocket
        • ShipRocket Workflows
    • Payment Gateways
      • Razorpay
        • Razorpay Workflows
      • Cashfree
        • Workflows for Cashfree
      • Stripe
        • Stripe Workflows
    • Marketing and Engagement Platforms
      • Facebook Leads
        • Send Automated WhatsApp Messages to Facebook Leads
      • WebEngage
    • Additional Integrations
      • Zoho Books
        • Zoho Books Notifications
        • Workflow for Zoho Books
      • Generic Webhooks
        • Generic Webhook Workflows
        • Connect Wix Using Generic Webhook
        • Connect Zoho Desk Using Generic Webhook
        • Connect Your Google Form Using Generic Webhook
        • Connect Contact Form 7 Using Generic Webhook
      • Calendly
        • Workflows for Calendly
      • Pabbly
    • FAQs
  • APPOINTMENTS
    • BizMagnets Appointment
    • Appointment Booking
    • Appointment Template Configuration
    • FAQs
  • TICKETING
    • BizMagnets Ticketing
    • Ticket Fields
    • SLA Policies
    • Configuration
    • FAQs
  • Field Force Tracking
    • Field Force Tracking in BizMagnets
    • Add Geofence
    • Geofence Report
  • PRICING
    • Conversation Pricing
    • Message Credits
    • Billing & Subscriptions
  • COMMERCE
    • Facebook Catalogue
    • Orders
    • Payments
      • Sending Payment Links
      • Tracking Payments
      • FAQs
  • WHATSAPP OTP
    • WhatsApp OTP Configuration
    • OTP Authentication
  • API DOCUMENTS
    • Authentication
    • Channel
    • Untitled
    • API Docs
  • ADDITIONAL DETAILS
    • Members
      • Teams
      • Roles
      • FAQs
    • Exploring Message Delivery Challenges on WhatsApp
    • New Per-user Messaging Limits on WhatsApp
    • Automations
      • Chat Inbox Assignment
      • Chat Inbox Configuration
    • Quick Replies
    • Tags
    • API Keys
    • Biz Catalogues
    • Custom Fields
    • Frequently Asked Questions
  • ANALYTICS
    • Dashboard
    • Conversation Report
    • View Insights
    • Failed Messages
  • Group 1
    • Knowledge Base
Powered by GitBook
On this page
  • Steps to Set Up Google Forms Integration:
  • Create Your Form
  • Obtain Your Endpoint URL
  • Integrate the Script
  • Test Your Script
  • Add a Trigger
  • Deploy the Script
  • Create a Workflow in BizMagnets
  • Google Forms Webhook Integration Logs
  1. INTEGRATION
  2. Additional Integrations
  3. Generic Webhooks

Connect Your Google Form Using Generic Webhook

Google Forms is a versatile tool for gathering data. By integrating it with BizMagnets using webhook, you can automate the process of sending form responses directly to BizMagnets for further actions.

This guide outlines the steps to establish this integration smoothly.

Steps to Set Up Google Forms Integration:

Create Your Form

Start by creating a new Google Form or use an existing one. Add all the required questions to capture the necessary information.

Ensure your Google Form includes a field to collect the WhatsApp number. Without this, sending WhatsApp messages via BizMagnets won’t be possible.

  • If both you and the customer are based in India:

    • The phone number can be entered with or without the country code (e.g., +91).

  • For customers outside India:

    • Always include the appropriate country code in the phone number field.

Obtain Your Endpoint URL

To send webhook data to BizMagnets, you need an endpoint URL. Here's how to get it:

  1. Log in to your BizMagnets account and navigate to Integrations.

  2. Click on Connect under Generic Webhooks.

  3. Provide a name for the integration and click Confirm.

  4. A webhook URL will be generated—save this URL for the next step.

Integrate the Script

To integrate Google Forms with BizMagnets, follow these steps:

  1. Open your Google Form and click on the three dots in the top-right corner (next to the Send button).

  2. Select Script Editor from the dropdown menu.

  3. Delete any existing code and replace it with the following script:

javascriptCopy codevar ENDPOINT_URL = "Enter your endpoint URL here";

function onSubmit(e) {
    var form = FormApp.getActiveForm();
    var allResponses = form.getResponses();
    var latestResponse = allResponses[allResponses.length - 1];
    var response = latestResponse.getItemResponses();
    var payload = {};
    for (var i = 0; i < response.length; i++) {
        var question = response[i].getItem().getTitle();
        var answer = response[i].getResponse();
        payload[question] = answer;
    }

    var options = {
        "method": "post",
        "contentType": "application/json",
        "payload": JSON.stringify(payload)
    };
    UrlFetchApp.fetch(ENDPOINT_URL, options);
}
  1. Click Save. The onSubmit function will automatically execute whenever the form receives a submission, sending the data to BizMagnets for further processing.

Ensure you replace "Enter your endpoint URL here" with the actual webhook URL generated in your BizMagnets account.

Test Your Script

  1. Share the Google Form link with one of your teammates to gather a response.

  2. Once a response is submitted, go to your BizMagnets account and click on Capture Webhook Response.

  3. In the Script Editor, click Run to test your script. The response should now appear in your BizMagnets account.

After receiving the webhook response, click Update Configuration to set up workflows that send WhatsApp messages to those who filled out your Google Form.

Add a Trigger

  1. In the Script Editor, click on the alarm clock icon in the sidebar (labeled Trigger when hovered over).

  2. Click on the Add Trigger button.

  3. Configure the trigger:

    • Select the onSubmit function to run.

    • Choose the deployment (use Head if it hasn't been deployed yet).

    • Set the event source as from form and select On form submit as the event type.

  4. Click Save to finalize the trigger setup.

Deploy the Script

  1. Click the Deploy button at the top-right corner and choose New Deployment.

  2. Select Web app as the deployment type.

  3. Optionally, add a description for the deployment.

  4. Under Who has access, choose Anyone to enable execution.

  5. Click Deploy to publish your script.

Create a Workflow in BizMagnets

  1. Log in to your BizMagnets account and click on Create New Workflow.

  2. Name your workflow and add conditions (if needed).

  3. Select the WhatsApp template, map the variables, and add any tags you wish to attach to the contact.

  4. Save the workflow by clicking Create Workflow.

Google Forms Webhook Integration Logs

Once the workflow is set up, test the integration:

  1. Have someone fill out and submit the Google Form.

  2. Check the Logs in your BizMagnets account to review the workflow status. Verify that the workflow was executed successfully.

By following these steps, you can ensure a successful connection between your Google Form and BizMagnets for automating WhatsApp communications.

PreviousConnect Zoho Desk Using Generic WebhookNextConnect Contact Form 7 Using Generic Webhook

Last updated 5 months ago