← Botstar + Google Business Profile integrations

List Posts with Google Business Profile API on New Bot Created from Botstar API

Pipedream makes it easy to connect APIs for Google Business Profile, Botstar and 2,700+ other apps remarkably fast.

Trigger workflow on
New Bot Created from the Botstar API
Next, do this
List Posts with the Google Business Profile API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Botstar trigger and Google Business Profile action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Bot Created trigger
    1. Connect your Botstar account
    2. Configure timer
  3. Configure the List Posts action
    1. Connect your Google Business Profile account
    2. Select a Account Name
    3. Select a Location
    4. Optional- Configure Max Posts
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when a new bot is created in BotStar. [See the documentation](https://apis.botstar.com/docs/#/Bots/get_bots_)
Version:0.0.1
Key:botstar-new-bot-created

Botstar Overview

Botstar API lets you extend the capabilities of Botstar's chatbot platform. It empowers you to programmatically manage and interact with your chatbots, access chat and user data, and integrate with external services. With Pipedream, you can leverage these API functions to automate workflows between Botstar and other apps, trigger actions based on chat events, or synchronize chatbot data with CRM platforms, databases, or marketing tools.

Trigger Code

import common from "../common/base.mjs";
import sampleEmit from "./test-event.mjs";

export default {
  ...common,
  key: "botstar-new-bot-created",
  name: "New Bot Created",
  description: "Emit new event when a new bot is created in BotStar. [See the documentation](https://apis.botstar.com/docs/#/Bots/get_bots_)",
  version: "0.0.1",
  type: "source",
  dedupe: "unique",
  methods: {
    generateMeta(bot) {
      return {
        id: bot.id,
        summary: `New Bot: ${bot.name}`,
        ts: Date.now(),
      };
    },
  },
  async run() {
    const bots = await this.botstar.listBots();
    for (const bot of bots) {
      const meta = this.generateMeta(bot);
      this.$emit(bot, meta);
    }
  },
  sampleEmit,
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
BotstarbotstarappThis component uses the Botstar app.
timer$.interface.timer

Trigger Authentication

Botstar uses API keys for authentication. When you connect your Botstar account, Pipedream securely stores the keys so you can easily authenticate to Botstar APIs in both code and no-code steps.

About Botstar

Bot application

Action

Description:List local posts associated with a location. [See the documentation](https://developers.google.com/my-business/reference/rest/v4/accounts.locations.localPosts/list)
Version:0.0.1
Key:google_my_business-list-posts

Google Business Profile Overview

The Google My Business API enables businesses to manage their online presence across Google, including Search and Maps. Through Pipedream, you can automate various aspects of your Google My Business account, such as reading and responding to customer reviews, updating business information, and posting new content. This API provides a powerful way to engage with customers and maintain accurate, up-to-date business listings, all through programmable interactions that can save time and enhance visibility.

Action Code

import { defineAction } from "@pipedream/types";
import app from "../../app/google_my_business.app.mjs";
const DOCS_LINK = "https://developers.google.com/my-business/reference/rest/v4/accounts.locations.localPosts/list";
const PAGE_SIZE = 100;
export default defineAction({
    key: "google_my_business-list-posts",
    name: "List Posts",
    description: `List local posts associated with a location. [See the documentation](${DOCS_LINK})`,
    version: "0.0.1",
    type: "action",
    props: {
        app,
        account: {
            propDefinition: [
                app,
                "account",
            ],
        },
        location: {
            propDefinition: [
                app,
                "location",
                ({ account }) => ({
                    account,
                }),
            ],
        },
        maxResults: {
            type: "integer",
            label: "Max Posts",
            description: `Max amount of posts to retrieve. Each request can retrieve up to ${PAGE_SIZE} posts.`,
            optional: true,
            default: PAGE_SIZE,
            min: 1,
            max: PAGE_SIZE * 10,
        },
    },
    async run({ $ }) {
        const { account, location, maxResults, } = this;
        const params = {
            $,
            account,
            location,
            maxPerPage: PAGE_SIZE,
            maxResults,
        };
        const response = await this.app.listPosts(params);
        $.export("$summary", "Successfully listed posts");
        return response;
    },
});

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Google Business ProfileappappThis component uses the Google Business Profile app.
Account NameaccountstringSelect a value from the drop down menu.
LocationlocationstringSelect a value from the drop down menu.
Max PostsmaxResultsinteger

Max amount of posts to retrieve. Each request can retrieve up to 100 posts.

Action Authentication

Google Business Profile uses OAuth authentication. When you connect your Google Business Profile account, Pipedream will open a popup window where you can sign into Google Business Profile and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Google Business Profile API.

Pipedream requests the following authorization scopes when you connect your account:

https://www.googleapis.com/auth/business.manage

About Google Business Profile

Show up when customers search for businesses on Google Search and Maps. Easily manage multiple locations. Leverage the latest engagement features to stay connected to customers.

More Ways to Connect Google Business Profile + Botstar

Create or Update Reply to Review with Google Business Profile API on New CMS Entity Item Created from Botstar API
Botstar + Google Business Profile
 
Try it
List Posts with Google Business Profile API on New CMS Entity Item Created from Botstar API
Botstar + Google Business Profile
 
Try it
Create or Update Reply to Review with Google Business Profile API on New Bot Created from Botstar API
Botstar + Google Business Profile
 
Try it
Create or Update Reply to Review with Google Business Profile API on New CMS Entity Created from Botstar API
Botstar + Google Business Profile
 
Try it
List Posts with Google Business Profile API on New CMS Entity Created from Botstar API
Botstar + Google Business Profile
 
Try it
New Bot Created from the Botstar API

Emit new event when a new bot is created in BotStar. See the documentation

 
Try it
New CMS Entity Created from the Botstar API

Emit new event when a new CMS entity is created in a BotStar bot. See the documentation

 
Try it
New CMS Entity Item Created from the Botstar API

Emit new event when a new item is created in a CMS entity in BotStar. See the documentation

 
Try it
New Post Created from the Google Business Profile API

Emit new event for each new local post on a location See the documentation

 
Try it
New Review Created from the Google Business Profile API

Emit new event for each new review on a location See the documentation

 
Try it
Send Message with the Botstar API

Send a message to a user via BotStar. See the docs

 
Try it
Create or Update Reply to Review with the Google Business Profile API

Create or update a reply to the specified review. See the documentation

 
Try it
Create Post with the Google Business Profile API

Create a new local post associated with a location. See the documentation

 
Try it
List Posts with the Google Business Profile API

List local posts associated with a location. See the documentation

 
Try it

Explore Other Apps

1
-
0
of
2,700+
apps by most popular