Instabot is a chatbot platform that increases conversion where you are already interacting with your users - via your website, mobile app or email. You can build, integrate, and launch Instabot into your campaigns quickly.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
With the Instabot API, you can build bots that can automate tasks on Instagram,
such as liking and following users, commenting on posts, and more.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
instabot_chatbot_platform: {
type: "app",
app: "instabot_chatbot_platform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.instabot.io/v1/users`,
headers: {
"X-Instabot-Api-Key": `${this.instabot_chatbot_platform.$auth.api_key}`,
"Authorization": `X-Instabot-Master-Api-Key ${this.instabot_chatbot_platform.$auth.master_api_key}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})