Send Files Hosted in Landbot to Your Google Drive with Make

Cesar Banchio Updated by Cesar Banchio

Overview

Here’s a quick outline of the steps:

  1. Set up a trigger block in Landbot to initiate the Make scenario.
  2. Configure Landbot to send the file URL to Make.
  3. Create a scenario in Make that captures the URL, downloads the file, and uploads it to Google Drive.

Let’s get started!

Step 1: Set Up a Trigger Block

  1. Add a trigger block on the flow where the file is collected, set the URL as the Make webhook URL.
  2. Store the URL in a variable. For example, name it file_url.

For more information on setting a trigger block, you can review this article.

Step 2: Configure the Make Scenario

Step 2.1: Create a New Scenario in Make

  1. Log in to your Make account and create a new scenario.
  2. Search for the Webhook module and select Custom Webhook.
  3. Click Add to create a new webhook, name it, and copy the Webhook URL provided by Make.

Step 2.2: Send the Webhook URL to Landbot

  1. Go back to Landbot and paste the Webhook URL from Make into the trigger block’s URL field.
  2. Map the file_url variable in Landbot to send this data with the webhook.

Step 2.3: Test the Webhook

  1. In Make, click Run once on your scenario to test it.
  2. Send a test request from Landbot to confirm that Make receives the file_url correctly.
  3. You should see the webhook data in Make, which indicates that Landbot and Make are successfully connected.

Step 3: Configure Make to Download the File and Save to Google Drive

Step 3.1: Add an HTTP Module in Make to Download the File

  1. In the same Make scenario, add the HTTP > Make a Request module.
  2. Set the Method to GET.
  3. In the URL field, map the file_url from the webhook trigger data. This is the URL sent by Landbot.
  4. Run the scenario once to ensure Make can access the file.

Step 3.2: Add a Google Drive Module to Upload the File

  1. Add a Google Drive > Upload a File module after the HTTP module.
  2. In Source File, map the data from the HTTP module. This will pass the downloaded file data to Google Drive.
  3. Optionally, specify a destination folder in Google Drive where the files will be saved.
  4. Set the File Name using metadata from the HTTP response or input a generic name if preferred.

Step 3.3: Test the Complete Scenario

  1. Run the scenario again and send a test URL from Landbot.
  2. Check your Google Drive to confirm that the file has been successfully downloaded and saved.

How did we do?

How to let user select a time of booking (with a minimum 45 minutes notice)

Two-Step Email Verification

Contact