with INDIEFUNNELS and Formatting?
Creates a new Contact on your IndieFunnel website. See the documentation
Creates a new Member on your IndieFunnel website. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
indiefunnels: {
type: "app",
app: "indiefunnels",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.indiefunnels.$auth.api_url}/api/site/products`,
headers: {
Authorization: `Bearer ${this.indiefunnels.$auth.api_key}`,
"user-agent ": `@PipedreamHQ/pipedream v0.1`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})