What do you want to automate

with OneHash and Dappier?

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    dappier: {
      type: "app",
      app: "dappier",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `What is an MCP server?`,
    }
    return await axios($, {
      method: "post",
      url: `https://api.dappier.com/app/aimodel/am_01j06ytn18ejftedz6dyhz2b15`,
      headers: {
        Authorization: `Bearer ${this.dappier.$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