with Clientary and SmugMug?
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 SmugMug API provides programmatic access to a user's SmugMug account, allowing them to manage photos, albums, and account settings. With Pipedream, you can automate tasks such as uploading new images, synchronizing photo galleries with other platforms, or triggering actions based on account activity. The API's capabilities paired with Pipedream's serverless platform enable you to craft custom workflows that react to events in SmugMug or orchestrate tasks across multiple apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smugmug: {
type: "app",
app: "smugmug",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smugmug.com/api/v2!authuser`,
headers: {
"Accept": `application/json`,
},
}, {
token: {
key: this.smugmug.$auth.oauth_access_token,
secret: this.smugmug.$auth.oauth_refresh_token,
},
oauthSignerUri: this.smugmug.$auth.oauth_signer_uri,
})
},
})