with Zoho Cliq and SmugMug?
Emit new event when a new channel message is received. See the documentation
Emit new event when a new direct message is received. See the documentation
The Zoho Cliq API allows you to automate and integrate your team communication within Zoho Cliq. With this API, you can create bots to send messages, manage channels and users, and streamline notifications to your team about events from other applications or services. Using Pipedream, you can harness these capabilities to create powerful workflows that trigger actions within Zoho Cliq or react to events happening in Cliq to perform tasks in other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_cliq: {
type: "app",
app: "zoho_cliq",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.zoho_cliq.$auth.base_api_uri}/api/v2/users`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_cliq.$auth.oauth_access_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,
})
},
})