Google Cloud

The Google Cloud Platform, including BigQuery

Integrate the Google Cloud API with the FraudLabs Pro API

Setup the Google Cloud API trigger to run a workflow which integrates with the FraudLabs Pro API. Pipedream's integration platform allows you to integrate Google Cloud and FraudLabs Pro remarkably fast. Free for developers.

Get Verification Result with FraudLabs Pro API on New Pub/Sub Messages from Google Cloud API
Google Cloud + FraudLabs Pro
 
Try it
Send SMS Verification with FraudLabs Pro API on New Pub/Sub Messages from Google Cloud API
Google Cloud + FraudLabs Pro
 
Try it
Get Verification Result with FraudLabs Pro API on BigQuery - New Row from Google Cloud API
Google Cloud + FraudLabs Pro
 
Try it
Get Verification Result with FraudLabs Pro API on BigQuery - Query Results from Google Cloud API
Google Cloud + FraudLabs Pro
 
Try it
Send SMS Verification with FraudLabs Pro API on BigQuery - New Row from Google Cloud API
Google Cloud + FraudLabs Pro
 
Try it
New Pub/Sub Messages from the Google Cloud API

Emit new Pub/Sub topic in your GCP account. Messages published to this topic are emitted from the Pipedream source.

 
Try it
BigQuery - New Row from the Google Cloud API

Emit new events when a new row is added to a table

 
Try it
BigQuery - Query Results from the Google Cloud API

Emit new events with the results of an arbitrary query

 
Try it
Get Verification Result with the FraudLabs Pro API

Verify that an OTP sent by the Send SMS Verification API is valid. Please refer to the documentation for the explanation of the result returned.

 
Try it
Send SMS Verification with the FraudLabs Pro API

Send an SMS with verification code and a custom message for authentication purpose. Please refer to the documentation for the explanation of the result returned. NOTE: You need to register for an API key before using this REST API. Please visit Micro Plan to sign up for an API key if you do not have one. In addition, you will also have to make sure you have enough SMS credits to send any verification SMS.

 
Try it
Bigquery Insert Rows with the Google Cloud API

Inserts rows into a BigQuery table. See the docs and for an example here.

 
Try it
Create Bucket with the Google Cloud API

Creates a bucket on Google Cloud Storage See the docs

 
Try it
Create Scheduled Query with the Google Cloud API

Creates a scheduled query in Google Cloud. See the documentation

 
Try it

Overview of Google Cloud

The Google Cloud API opens a world of possibilities for enhancing cloud operations and automating tasks. It empowers you to manage, scale, and fine-tune various services within the Google Cloud Platform (GCP) programmatically. With Pipedream, you can harness this power to create intricate workflows, trigger cloud functions based on events from other apps, manage resources, and analyze data, all in a serverless environment. The ability to interconnect GCP services with numerous other apps enriches automation, making it easier to synchronize data, streamline development workflows, and deploy applications efficiently.

Connect Google Cloud

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
28
29
30
31
32
33
34
module.exports = defineComponent({
  props: {
    google_cloud: {
      type: "app",
      app: "google_cloud",
    }
  },
  async run({steps, $}) {
    // Required workaround to get the @google-cloud/storage package
    // working correctly on Pipedream
    require("@dylburger/umask")()
    
    const { Storage } = require('@google-cloud/storage')
    
    const key = JSON.parse(this.google_cloud.$auth.key_json)
     
    // Creates a client from a Google service account key.
    // See https://cloud.google.com/nodejs/docs/reference/storage/1.6.x/global#ClientConfig
    const storage = new Storage({
      projectId: key.project_id,
      credentials: {
        client_email: key.client_email,
        private_key: key.private_key,
      }
    })
    
    // Uncomment this section and rename for your bucket before running this code
    // const bucketName = 'pipedream-test-bucket';
    
    await storage.createBucket(bucketName)
    console.log(`Bucket ${bucketName} created.`)
  },
})

Overview of FraudLabs Pro

Fraud Detection for E-commerce

The FraudLabs Pro API enables e-commerce businesses to detect fraudulent orders
with ease. Businesses can simply send in an order’s information, and FraudLabs
Pro will return a fraud score and report explaining the decision. This allows
businesses to make informed decisions on whether to accept, flag, or reject an
order.

FraudLabs Pro can help e-commerce businesses in the following ways:

  • Detect fraudulent orders
  • Reduce chargebacks and fraud-related losses
  • Prevent fraudsters from abusing the system

Here are some examples of what you can build with the FraudLabs Pro API:

  • A fraud detection system for your e-commerce website
  • A chargeback prevention system for your business
  • A fraud monitoring system to track fraudsters and their activities

Connect FraudLabs Pro

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: {
    fraudlabs_pro: {
      type: "app",
      app: "fraudlabs_pro",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.fraudlabspro.com/v1/order/screen`,
      params: {
        key: `${this.fraudlabs_pro.$auth.api_key}`,
        ip: `[ip_address]`,
      },
    })
  },
})