with Alchemy and Loggly (Send Data)?
Emit new event when a new GraphQL query is uploaded to Alchemy's Custom Webhook service. See the documentation
Send events to Loggly, with tags. See the docs for more details
The Alchemy API provides a robust platform for sending and managing faxes programmatically, giving you the power to integrate fax capabilities into automated workflows. With Pipedream, you can tap into these capabilities to build event-driven serverless workflows. Automate the sending of faxes when certain triggers occur, receive status updates, and connect with countless other services to streamline document management, notifications, and data synchronization tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
alchemy: {
type: "app",
app: "alchemy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.g.alchemy.com/prices/v1/${this.alchemy.$auth.api_key}/tokens/by-symbol?symbols=ETH`,
})
},
})
The Loggly (Send Data) API enables you to transmit log data into Loggly, a cloud-based log management and analytics service. With this integration, you can automate the aggregation of logs from various sources, analyze them in real-time, and monitor your applications and systems effectively. By leveraging this API on Pipedream, you can create automated workflows that streamline the process of log collection and correlation, set up alerts based on log patterns, and dynamically respond to system events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
loggly_send_data: {
type: "app",
app: "loggly_send_data",
}
},
async run({steps, $}) {
const data = {
"hello": `world`,
}
return await axios($, {
method: "post",
url: `https://logs-01.loggly.com/inputs/${this.loggly_send_data.$auth.token}/tag/pipedream-test`,
params: {
"Content-Type": `application/json`,
},
data,
})
},
})