Let us discuss how you can integrate Google My Business with OpenAI and automatically reply to your Google My Business reviews using OpenAI and Google Sheets.
This automation requires a one-time setup, for which we will use Pabbly Connect.
We will first link Google My Business with Pabbly Connect to capture the reviews, then link Pabbly Connect with OpenAI to generate a reply, then again link Google My Business with Pabbly Connect and post a reply.
How to Automatically Reply to Google My Business Reviews using OpenAI
1. Sign In / Sign Up to Pabbly Connect and Create a Workflow
2. Setup Google My Business as the Action App to Capture Reviews
3. Setup OpenAI as the Action App to Generate Replies
4. Setup Google Sheets as the Action App to Save Reviews
5. Setup Google Sheets as the Trigger App to Capture Data
6. Add a Filter to the Workflow
7. Setup Google My Business as the Action App to Post Reply
Step 1:- Sign In / Sign Up to Pabbly Connect and Create a Workflow
A. Sign In / Sign Up
To begin this process, visit Pabbly Connect and create your account by clicking on the ‘Sign Up Free’ button. You can also click on Sign In if you already have an account.
Click on the Pabbly Connect ‘Access Now’ button
B. Create Workflow
To create a new workflow, click the ‘Create Workflow’ button.
Part 1: Capture Reviews, Generate Replies, and Store them in Google Sheets
Name your workflow, and click on ‘Create’.
Step 2:- Setup Google My Business as the Action App to Capture Reviews
We will now look at the steps to establish a link between Google My Business and Pabbly Connect – this will help us fetch new reviews posted on your profile.
A. Trigger App
Trigger allows us to choose the application that will receive the data for Pabbly Connect. In our case, it would be Google My Business.
Choose ‘Google My Business’ as the Trigger App, select ‘New Review Multi Location’ as a Trigger Event, and click on ‘Connect’.
B. Connect with Google My Business Account
To connect with your Google My Business account, select ‘Add New Connection’ and click on ‘Sign in with Google’. Also, grant the authorization.
Select the Account and Business Location whose reviews you want to capture, and click on ‘Save & Send Test Request’.
Expand Response Received under which the captured review must be visible. Thus, confirming the established connection.
Step 3:- Setup OpenAI as the Action App to Generate Replies
Action allows us to choose the application that will get executed by the workflow trigger.
We essentially want to generate replies for the captured reviews using OpenAI. Thus, OpenAI will be our Action App.
A. Action App
Choose ‘OpenAI’ as the Action App, select ‘Generate Content’ as an Action Event, and click on ‘Connect’.
B. Connect OpenAI Account
To connect with your OpenAI account, select ‘Add New Connection’. You will be prompted to enter your API Token. Find your API Token by clicking on the ‘OpenAI API Keys page’ button.
Generate and copy your API Token, paste it into its given field, and click on ‘Save & Send Test Request’.
Select the AI Model you want to use for generating the replies.
C. Enter / Map the Necessary Fields
Now that you have connected your OpenAI account, all you need is to map the necessary details from the step above. Mapping ensures our data remains dynamic and changes as per the received responses.
Compose a Prompt by mapping the reviews from the step above.
Similarly, select/enter other fields, leaving the unnecessary ones empty, and click on ‘Save & Send Test Request’.
As soon as you click on Save & Send Test Request, OpenAI will automatically compose a reply for the captured review.
Step 4:- Setup Google Sheets as the Action App to Save Reviews
In case you want to store the captured reviews in a Google Sheets spreadsheet and approve the replies before posting – we will set up Google Sheets as the Action App.
A. Action App
Choose ‘Google Sheets’ as the Action App, select ‘Add New Row’ as an Action Event, and click on ‘Connect’.
B. Connect Google Sheets Account
To connect with your Google Sheets account, select ‘Add New Connection’, and click on ‘Connect With Google Sheets’. Also, grant the authorization.
Select the Spreadsheet and Sheet where you want to store your data.
As soon as you select your sheet, the columns of this sheet will start reflecting as fields in your Action Step.
C. Map Necessary Fields
Map the Review Name from the step above.
Similarly, map the other fields, and click on ‘Save & Send Test Request’.
The moment you click on Save & Send Test Request, the reviews will automatically be saved in your Google Sheets spreadsheet.
Part 2: Post the Approved Replies
Create another workflow to post the generated replies.
Step 5:- Setup Google Sheets as the Trigger App to Capture Data
Before posting a reply to the reviews, we will capture the saved reviews and replies from Google Sheets. To do so, we will set up Google Sheets as the Trigger App.
A. Trigger App
Choose ‘Google Sheets’ as the Trigger App and select ‘New or Updated Spreadsheet Row’ as a Trigger Event.
B. Webhook URL
A new Webhook URL will get generated. You will use this Webhook URL to create a connection with your Google Sheets account. Copy the Webhook URL.
As soon as you Copy the Webhook URL, Pabbly Connect will start looking to capture data from Google Sheets, as indicated by the rotating Waiting For Webhook Response button.
C. Connect Google Sheets Account
To connect with your Google Sheets account, open the sheet where you want to enter the data, click on Extensions > Add-ons > Get add-ons, and search for ‘Pabbly Connect Webhook’.
Install the Pabbly Connect Webhook extension.
After installing the add-on, again click on Extension > Pabbly Connect Webhooks > Initial Setup.
Paste the Webhook URL that we copied earlier, and in the Trigger Column, mention the name of the last column in which the data is available, and click on ‘Send Test’.
Now that the data is sent successfully – click on ‘Submit’.
Now, click on Extension > Pabbly Connect Webhooks > ‘Send On Event’.
Switch back to Pabbly Connect, and expand Response Received under which the data must be visible, thus confirming our established connection.
Step 6:- Add a Filter to the Workflow
Since we want to post the reply only after approval, we will add a column in our Google Sheets spreadsheet and add a Filter to our Workflow.
Choose ‘Filter by Pabbly’ as the Action App, select ‘Reply (Approve/Disapprove)’ as your Label, select ‘Equal to’ as the Filter Type, and enter ‘Approve’ as Value. At last, click on ‘Save & Send Test Request’ – This will ensure that the next step in our workflow will only be executed if you have approved the reply.
Step 7:- Setup Google My Business as the Action App to Post Reply
For our final step, we will set up Google My Business as the Action App and post a reply for the captured reviews.
A. Action App
Choose ‘Google My Business’ as the Action App, select ‘Create Reply’ as an Action Event, and click on ‘Connect’.
B. Establish Connection
Since we are already connected to our Google My Business account, all we need is to ‘Select Existing Connection’ and click on ‘Save’.
Enable the mapping button, and map the Review Name from the trigger step.
Similarly, map Your Reply from the trigger step, and click on ‘Save & Send Test Request’.
Upon clicking the Save & Send Test Request, the review will receive an automatic reply.
We have completed the integration of Google My Business with OpenAI, resulting in a fully automated system. Whenever a customer leaves a review for your business, they will now receive an automatically generated appropriate response.
You can copy both workflows by clicking these links Part 1, and Part 2.
Sign Up for a free Pabbly Connect account, and start automating your business
Subscribe to our Youtube Channel for more such automation
For any other queries, visit our forum