with Supernotes and Redis Cloud REST API?
Create a single card with the minimum amount of data required. See docs here
The Supernotes API lets you automate your note-taking and knowledge management tasks. With Supernotes, you can create, update, and organize cards, collaborate on notes with teammates, and track changes in your knowledge base. Using Pipedream, you can harness these abilities to create intricate workflows that leverage the capabilities of Supernotes in concert with hundreds of other services, creating a seamless integration for productivity and collaboration.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
supernotes: {
type: "app",
app: "supernotes",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.supernotes.app/v1/profiles/`,
headers: {
"Api-Key": `${this.supernotes.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
redis_cloud_rest_api: {
type: "app",
app: "redis_cloud_rest_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.redislabs.com/v1/`,
headers: {
"x-api-key": `${this.redis_cloud_rest_api.$auth.api_account_key}`,
"x-api-secret-key": `${this.redis_cloud_rest_api.$auth.api_user_key}`,
},
})
},
})