with Microsoft Dataverse and Reputation Lyncs?
Emit new event when a new customer is added to the system. See the documentation
Adds a new customer to the Reputation Lyncs platform. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_dataverse: {
type: "app",
app: "microsoft_dataverse",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.microsoft_dataverse.$auth.environment_url}/api/data/v9.2/WhoAmI`,
headers: {
Accept: `application/json`,
Authorization: `Bearer ${this.microsoft_dataverse.$auth.oauth_access_token}`,
"OData-MaxVersion": `4.0`,
"OData-Version": `4.0`,
"Accept": `application/json`,
},
})
},
})
Reputation Lyncs offers an API that allows you to monitor and manage online reviews and ratings across various platforms. In Pipedream, this API can be harnessed to create powerful workflows that automate the process of tracking your business's reputation, responding to reviews, and analyzing sentiment across different review sites. Pipedream's serverless platform enables you to integrate these features with other apps seamlessly, triggering actions based on review data or updating dashboards with real-time insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
reputation_lyncs: {
type: "app",
app: "reputation_lyncs",
}
},
async run({steps, $}) {
const data = {
"Apikey": `${this.reputation_lyncs.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://reputationlync.com/app/api/customer/validateApiKey`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})