with Exact and Splunk?
Emit new event each time a new account is created. See the docs
Emit new event each time a new contact is created. See the docs
Emit new event when a new alert is triggered in Splunk. See the documentation
Emit new event when a new search event is created. See the documentation
Emit new events when a search returns results in Splunk. See the documentation
Sends a new event to a specified Splunk index. See the documentation
Retrieve the status of a previously executed Splunk search job. See the documentation
Executes a Splunk search query and returns the results. See the documentation
The Exact API provides a suite of endpoints for interacting with Exact's cloud-based financial software, which includes tools for accounting, CRM, and ERP functionalities. By leveraging this API on Pipedream, you can automate data flows across various business functions, sync financial records, manage customer relationships, and streamline operational processes. Pipedream's serverless execution model allows for crafting intricate workflows that respond in real-time to events, schedule operations, and connect with countless other apps to extend the functionality of Exact's ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
exact: {
type: "app",
app: "exact",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://start.exactonline.${this.exact.$auth.region}/api/v1/current/Me?$select=UserID,Email`,
headers: {
Authorization: `Bearer ${this.exact.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
params: {
"$select": `UserID,Email`,
},
})
},
})
import { axios } from "@pipedream/platform";
import https from "https";
export default defineComponent({
props: {
splunk: {
type: "app",
app: "splunk",
}
},
async run({steps, $}) {
const selfSigned = this.splunk.$auth.self_signed;
const agent = new https.Agent({
rejectUnauthorized: !selfSigned
});
return await axios($, {
url: `${this.splunk.$auth.api_url}:${this.splunk.$auth.api_port}/services/authentication/current-context`,
httpsAgent: agent,
headers: {
"content-type": `application/json`,
"authorization": `Splunk ${this.splunk.$auth.api_token}`,
},
params: {
output_mode: `json`,
},
})
},
})