with GatherUp and OpenCage?
The GatherUp API facilitates the automation of customer feedback and review management processes. It enables seamless integration with Pipedream's serverless platform for creating workflows that can aggregate reviews, trigger actions based on customer feedback, and enhance reputation management. By leveraging the GatherUp API, businesses can automate the collection and analysis of customer reviews, respond to feedback promptly, and harness insights to improve service quality and customer satisfaction.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gatherup: {
type: "app",
app: "gatherup",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.gatherup.com/api/v2/user/managers/get`,
headers: {
Authorization: `Bearer ${this.gatherup.$auth.bearer_token}`,
},
params: {
clientId: `${this.gatherup.$auth.client_id}`,
},
})
},
})
The OpenCage API provides geocoding services, converting coordinates to readable addresses (reverse geocoding) and vice versa (forward geocoding). It's valuable for apps requiring geolocation data, such as mapping, logistics, or location-based services. In Pipedream, it can be used to create workflows that react to location-based events or enrich datasets with geographical information.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
opencage: {
type: "app",
app: "opencage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.opencagedata.com/geocode/v1/json`,
params: {
key: `${this.opencage.$auth.api_key}`,
"q": `51.952659%2C+7.632473`,
pretty: `1`,
no_annotations: `1`,
},
})
},
})