What do you want to automate

with OneHash and HARPA AI?

Prompt, edit and deploy AI agents that connect to OneHash, HARPA AI 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
Integrate the OneHash API with the HARPA AI API
Setup the OneHash API trigger to run a workflow which integrates with the HARPA AI API. Pipedream's integration platform allows you to integrate OneHash and HARPA AI remarkably fast. Free for developers.

Connect OneHash

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    onehash: {
      type: "app",
      app: "onehash",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `${this.onehash.$auth.api_url}/api/resource/Contact`,
      headers: {
        "authorization": `token ${this.onehash.$auth.api_key}:${this.onehash.$auth.api_secret}`,
        "accept": `*/*`,
      },
    })
  },
})

Connect HARPA AI

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
26
27
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    harpa_ai: {
      type: "app",
      app: "harpa_ai",
    }
  },
  async run({steps, $}) {
    const data = {
        "action": "scrape",
        "url": "https://harpa.ai/blog",
        "grab": [{"selector":".PostList__postTitle","at":"all","label":"data"}],
        "node": "4wwg"
      }
    return await axios($, {
      method: "post",
      url: `https://api.harpa.ai/api/v1/grid`,
      headers: {
        Authorization: `Bearer ${this.harpa_ai.$auth.api_key}`,
        "content-type": `application/json`,
      },
      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