with Fakturoid and LINE Messaging?
Emit new event for every received message in a channel
Emit new event when a contact (subject) is added in Fakturoid.
Emit new event when a new invoice is created in Fakturoid.
Cancels an existing invoice or revokes previous cancellation. See the documentation
Sends a broadcast message to all users. See the documentation
Sends a multicast message to a list of users. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fakturoid: {
type: "app",
app: "fakturoid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.fakturoid.cz/api/v3/user.json`,
headers: {
Authorization: `Bearer ${this.fakturoid.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
line_messaging_api: {
type: "app",
app: "line_messaging_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.line.me/v2/bot/info`,
headers: {
Authorization: `Bearer ${this.line_messaging_api.$auth.long_lived_channel_access_token}`,
},
})
},
})