with Go and Google Business Profile?
Emit new event for each new local post on a location See the documentation
Emit new event for each new review on a location See the documentation
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
Create or update a reply to the specified review. See the documentation
Create a new local post associated with a location. See the documentation
List local posts associated with a location. See the documentation
You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}
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.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_my_business: {
type: "app",
app: "google_my_business",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://mybusinessaccountmanagement.googleapis.com/v1/accounts`,
headers: {
Authorization: `Bearer ${this.google_my_business.$auth.oauth_access_token}`,
},
})
},
})