with Podio and Unleashed Software?
Emit new events when a new application is created. See the documentation
Emit new events when a new item is created. See the documentation
Emit new events when an item is updated. See the documentation
Emit new events when a new organization created. See the documentation
Emit new events when a new task is created. See the documentation
The Podio API opens a world of possibilities for managing tasks, projects, and team collaboration with ease. By harnessing the API through Pipedream, you can automate routine operations, synchronize data across different platforms, and craft custom workflows that facilitate real-time project management and enhance productivity. Whether it's updating leads in a CRM, managing a content calendar, or automating project status reports, the Podio API paired with Pipedream's serverless execution model allows for seamless integration with a vast array of services to streamline your work processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    podio: {
      type: "app",
      app: "podio",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.podio.com/user`,
      headers: {
        Authorization: `Bearer ${this.podio.$auth.oauth_access_token}`,
      },
    })
  },
})
import { axios } from "@pipedream/platform";
import crypto from "crypto";
export default defineComponent({
  props: {
    unleashed_software: {
      type: "app",
      app: "unleashed_software",
    }
  },
  async run({ steps, $ }) {
    const baseUrl = "https://api.unleashedsoftware.com";
    const resource = "Accounts";
    // The queryString is used in calculating signature, add your query string parameters 
    // e.g. for the Customers resource customerCode=FRANCK&includeObsolete=true
    // or just pass an empty string
    const queryString =  "";
    const uri = `${baseUrl}/${resource}${queryString ? `?${queryString}` : ""}`
    // Generate HMAC-SHA256 signature
    const signature = crypto
      .createHmac("sha256", this.unleashed_software.$auth.api_key)
      .update(queryString)
      .digest("base64")
    // Make the request
    return await axios($, {
      method: "GET",
      url: uri,
      headers: {
        "api-auth-id": this.unleashed_software.$auth.api_id,
        "api-auth-signature": signature,
        "Accept": "application/json",
        "Content-Type": "application/json; charset=utf-8",
      },
    });
  },
})