Email marketing is so simple with http://Sender.net. Create stunning designs, automate your campaigns and track your results. Spend less, do more!
Creates a model response for the given chat conversation. See the documentation
The Sender API, available on Pipedream, offers powerful capabilities to automate communication and marketing workflows. By leveraging this API, you can streamline how you manage emails, newsletters, and subscriber lists directly from your app environment. This can include sending personalized email campaigns, managing contacts, analyzing campaign performance, and even triggering transactional emails based on user actions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sender: {
type: "app",
app: "sender",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sender.net/v2/subscribers`,
headers: {
Authorization: `Bearer ${this.sender.$auth.api_token}`,
"Accept": `application/json`,
"Content-Type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
groqcloud: {
type: "app",
app: "groqcloud",
}
},
async run({steps, $}) {
const data = {"messages": [{"role": "user", "content": "What is Pipedream?"}], "model": "llama3-8b-8192"}
return await axios($, {
method: "post",
url: `https://api.groq.com/openai/v1/chat/completions`,
headers: {
Authorization: `Bearer ${this.groqcloud.$auth.api_key}`,
},
data,
})
},
})