What do you want to automate

with ChatFly and Google Perspective?

Prompt, edit and deploy AI agents that connect to ChatFly, Google Perspective and 2,800+ 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
Send Message with the ChatFly API

Dispatches a text message to a specified group or individual in Chatfly.

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

Overview of ChatFly

The ChatFly API allows developers to integrate chat functionalities into their applications, making it easier to build custom chat solutions or enhance existing communication systems. On Pipedream, leveraging the ChatFly API can automate interactions, analyze chat data, or sync with other services to create a more dynamic user experience.

Connect ChatFly

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    chatfly: {
      type: "app",
      app: "chatfly",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://backend.chatfly.co/api/bot`,
      headers: {
        "CHATFLY-API-KEY": `${this.chatfly.$auth.api_key}`,
      },
    })
  },
})

Connect Google Perspective

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
import { google } from 'googleapis';

export default defineComponent({
  props: {
    google_perspective: {
      type: "app",
      app: "google_perspective",
    }
  },
  async run({ steps, $ }) {
    const client = await google.discoverAPI("https://commentanalyzer.googleapis.com/$discovery/rest?version=v1alpha1");
    const analyzeRequest = {
      comment: {
        text: 'Jiminy cricket! Well gosh durned it! Oh damn it all!',
      },
      requestedAttributes: {
        TOXICITY: {},
      },
    };
    return await client.comments.analyze({
      key: this.google_perspective.$auth.api_key,
      resource: analyzeRequest,
    });
  },
})

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