with Pipedream and Clear Books?
Exposes an HTTP API for scheduling messages to be emitted at a future time
Emit new event at a specified time before a card is due.
Emit new event when a new customer is added to the system.
Emit new event when a new purchase document is created.
Creates a new customer in Clear Books. See the documentation
Creates a new Purchase Document in Clear Books. See the documentation
Creates a new supplier in Clear Books. See the documentation
Pipedream is an API that allows you to build applications that can connect to
various data sources and processes them in real-time. You can use Pipedream to
create applications that can perform ETL (Extract, Transform, and Load) tasks,
as well as to create data-driven workflows.
Some examples of applications you can build using the Pipedream API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    pipedream: {
      type: "app",
      app: "pipedream",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.pipedream.com/v1/users/me`,
      headers: {
        Authorization: `Bearer ${this.pipedream.$auth.api_key}`,
      },
    })
  },
})
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    clear_books: {
      type: "app",
      app: "clear_books",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.clearbooks.co.uk/v1/businesses`,
      headers: {
        Authorization: `Bearer ${this.clear_books.$auth.oauth_access_token}`,
        "accept": `application/json`,
      },
    })
  },
})