with Qryptal and Ometria?
Qryptal API offers robust solutions for generating and validating secure document QR codes that can be integrated seamlessly into documents for authenticity verification. This is particularly crucial in sectors like education, finance, and government, where document integrity is paramount. Using Pipedream, the API can be connected to a variety of other services to create complete automation workflows, enhancing processes like document management, compliance tracking, and secure exchanges.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
qryptal: {
type: "app",
app: "qryptal",
}
},
async run({steps, $}) {
const data = {
"data": {
"City/Town": "Utopia City",
"District": "Central District",
"Name": "John Doe",
"Demographics": {
"Sex": "Male",
"DOB": "May 9 1996",
"City": "Utopia City"
}
},
"format":{
"version":"2",
"fields":[
{
"Photocard":{
"type":"4T1P",
"kvals":[
["Name"],
["Demographics", "Sex"],
["Demographics", "DOB"],
["Demographics", "City"]
],
"dict": {
"file_type":"png",
"file_field":"img1"
}
}
},
{
"City":{
"type":"t2",
"kval":[
"City/Town"
]
}
},
{
"District":{
"type":"t2",
"kval":[
"District"
]
}
}
]
},
"scheme": "C02-EDC-S-B64PNG"
}
return await axios($, {
method: "post",
url: `${this.qryptal.$auth.host}:${this.qryptal.$auth.port}/v2/Vqodes/`,
headers: {
"Authorization": `Token ${this.qryptal.$auth.token}`,
},
data,
})
},
})
The Ometria API is a data-driven tool designed to empower marketers to efficiently orchestrate personalized customer experiences across multiple channels. With this API, you can automate the management of customer data, track customer behaviors, and trigger personalized marketing campaigns. By leveraging the power of Pipedream's integration capabilities, you can seamlessly connect Ometria with other services, sync data in real-time, and create custom, scalable automations to enhance your marketing efforts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ometria: {
type: "app",
app: "ometria",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ometria.com/v2/orders`,
headers: {
"X-Ometria-Auth": `${this.ometria.$auth.api_key}`,
},
})
},
})