What do you want to automate

with ifthenpay and Groq Cloud?

Prompt, edit and deploy AI agents that connect to ifthenpay, Groq Cloud and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Create Chat Completion with Groq Cloud API on New Payment Completed from ifthenpay API
ifthenpay + Groq Cloud
 
Try it
New Payment Completed from the ifthenpay API

Emit new event when a payment is successfully completed through Ifthenpay. See the documentation

 
Try it
Create Payment Reference with the ifthenpay API

Generates a Multibanco or MB WAY payment reference with a specified amount, entity code, and deadline. See the documentation

 
Try it
Create Chat Completion with the Groq Cloud API

Creates a model response for the given chat conversation. See the documentation

 
Try it
Issue Refund with the ifthenpay API

Issue a full or partial refund for a previously completed payment via Ifthenpay. See the documentation

 
Try it
Integrate the ifthenpay API with the Groq Cloud API
Setup the ifthenpay API trigger to run a workflow which integrates with the Groq Cloud API. Pipedream's integration platform allows you to integrate ifthenpay and Groq Cloud remarkably fast. Free for developers.

Connect ifthenpay

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    ifthenpay: {
      type: "app",
      app: "ifthenpay",
    }
  },
  async run({steps, $}) {
    const data = {
      "boKey": `${this.ifthenpay.$auth.backoffice_key}`,
      "dateStart": `21-10-2024 00:00:00`,
      "dateEnd": `30-04-2025 00:00:00`,
    }
    return await axios($, {
      method: "post",
      url: `https://api.ifthenpay.com/v2/payments/read`,
      headers: {
        "accept": `application/json`,
      },
      data,
    })
  },
})

Connect Groq Cloud

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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,
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo