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.
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})