with Givebutter and xAI?
Create an embedding vector representation corresponding to the input text. See the documentation
Create a language model response for a chat conversation. See the documentation
Create a language model response for a given prompt. See the documentation
The Givebutter API taps into the platform's fundraising capabilities, allowing developers to manage campaigns, track donations, and engage with supporters. It's designed for nonprofits and community organizations looking to automate their fundraising efforts and integrate with other services for a seamless workflow. By leveraging the Givebutter API on Pipedream, one can create custom automations that sync data between tools, send real-time notifications, and analyze fundraising activities without manual input, ensuring that resources are focused on the mission rather than administrative tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    givebutter: {
      type: "app",
      app: "givebutter",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.givebutter.com/v1/contacts`,
      headers: {
        Authorization: `Bearer ${this.givebutter.$auth.api_key}`,
        "Accept": `application/json`,
      },
    })
  },
})
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    x_ai: {
      type: "app",
      app: "x_ai",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.x.ai/v1/models`,
      headers: {
        Authorization: `Bearer ${this.x_ai.$auth.api_key}`,
      }
    })
  },
})