DotSimple is the all-in-one solution for your social media management.
Emit new event when a new account is connected. See the documentation.
Emit new event when a new file is uploaded. See the documentation.
Emit new event when a new post is created on the platform. See the documentation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dotsimple: {
type: "app",
app: "dotsimple",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.dotsimple.io/app/api/${this.dotsimple.$auth.workspace_id}/accounts`,
headers: {
Authorization: `Bearer ${this.dotsimple.$auth.access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})