with Accredible and Z-API?
This source triggers when a new credential is issued to a recipient. See the documentation
Emit new event when an existing credential's details are updated or modified. See the documentation
Issue a new credential to a given recipient. See the documentation
Remove a specific credential from the system. See the documentation
The Accredible API lets you automate the creation and management of digital certificates, badges, and blockchain credentials. Using Pipedream, you can connect the Accredible API to myriad services for streamlined workflow automation. Create digital certificates when a student completes a course, update credentials with new information, or share achievements across social platforms or via email. Pipedream's serverless platform enables you to integrate these actions with other apps, such as learning management systems, CRMs, and communication tools, without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
accredible: {
type: "app",
app: "accredible",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.accredible.com/v1/issuer/details`,
headers: {
"Content-Type": `application/json`,
"Authorization": `Token token=${this.accredible.$auth.api_key}`,
},
})
},
})
The Z-API API facilitates WhatsApp messaging automation, allowing users to send and receive messages, manage contacts, and orchestrate chatbots within the popular messaging platform. On Pipedream, you can leverage this API to create powerful serverless workflows that trigger actions in response to WhatsApp events, automate message flows, and integrate with myriad other services without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
z_api: {
type: "app",
app: "z_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.z-api.io/instances/${this.z_api.$auth.instance_id}/token/${this.z_api.$auth.token_id}/contacts`,
headers: {
"Client-Token": `${this.z_api.$auth.account_security_token}`,
},
})
},
})