with Financial Data and TypeflowAI?
Emit new event when a response is created for a workflow in TypeflowAI. See the documentation
Emit new event when a response is marked as finished. See the documentation
Emit new event when a response is updated within a workflow. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
financial_data: {
type: "app",
app: "financial_data",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://financialdata.net/api/v1/stock-symbols`,
params: {
key: `${this.financial_data.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typeflowai: {
type: "app",
app: "typeflowai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://dashboard.typeflowai.com/api/v1/management/me`,
headers: {
"x-api-key": `${this.typeflowai.$auth.api_key}`,
},
})
},
})