with Clientary and Humor API?
Emit new events when a new client was created. See the docs
Emit new events when a new contact was created. See the docs
Emit new events when a new estimate was created. See the docs
Emit new events when a new expense was created. See the docs
Emit new events when a new invoice was created. See the docs
The Clientary API allows you to automate and integrate Clientary's project management, time tracking, and invoicing functionalities within Pipedream. By leveraging this API, you can create custom workflows to streamline operations, such as syncing new invoices with accounting software, triggering notifications based on project updates, or automating time tracking entries. Pipedream acts as the glue, enabling you to connect Clientary with hundreds of other apps to create sophisticated, serverless workflows tailored to your business needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clientary: {
type: "app",
app: "clientary",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.clientary.$auth.domain}.clientary.com/api/v2/staff`,
headers: {
"accept": `application/json`,
},
auth: {
username: `${this.clientary.$auth.api_token}`,
password: `${this.clientary.$auth.api_token}`,
},
})
},
})
The Humor API is a tool that offers a variety of endpoints to add some laughter to your applications. Integrated into Pipedream, you can harness this API to create custom workflows that trigger actions across various services, responding to events with a light-hearted touch. Use cases may include sending jokes as icebreakers in emails, posting humorous content to social media, or integrating fun prompts into chatbots.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
humor_api: {
type: "app",
app: "humor_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.humorapi.com/memes/search`,
headers: {
"Content-Type": `application/json`,
},
params: {
keywords: `{your_keywords}`,
"api-key": `${this.humor_api.$auth.api_key}`,
},
})
},
})