What do you want to automate

with Afosto and Peach?

Prompt, edit and deploy AI agents that connect to Afosto, Peach 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 Contact with the Peach API

Creates a contact in your account. See the documentation

 
Try it
Send Template Message with the Peach API

Send a predefined message to a contact within the Peach app. See the documentation

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

Connect Afosto

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { graphQLClient, gql } from '@afosto/graphql-client';
export default defineComponent({
  props: {
    afosto: {
      type: "app",
      app: "afosto",
    }
  },
  async run({steps, $}) {
		graphQLClient.setAuthorizationHeader(this.afosto.$auth.auth_token);
		const query = gql`query GetChannelData { channel { name type logo locale favicon business { name messaging { sender { name address } } } branding { colors { primary text } style } links { type value } } }`;
		return await graphQLClient.request(query);    
  },
})

Connect Peach

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: {
    peach: {
      type: "app",
      app: "peach",
    }
  },
  async run({steps, $}) {
    const data = {
      "name": `John Smith`,
      "phone_number": `+919876543210`,
      "email": `john.smith@example.com`,
    }
    return await axios($, {
      method: "post",
      url: `https://app.trypeach.io/api/v1/contacts`,
      headers: {
        "Authorization": `${this.peach.$auth.api_token}`,
      },
      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