Make.com
Introduction
Make.com can be configured to both send and receive files from Couchdrop inside Make.com scenarios
Requirements
To set up a Make.com connection, you will need the following:
Access to Couchdrop, with the appropriate user rights. Talk to your admin to get these.
Access to Make.com, with the ability to configure Make.com scenarios with a webhook trigger.
Transferring files from Couchdrop to Make.com
To automatically send files from Couchdrop to Make.com you need to enter the URL of the custom webhook trigger for your Make.com scenario into Couchdrop
Setting up a Make.com scenario with a custom webhook trigger
To set up a scenario with a custom webhook trigger that can ingress files from Couchdrop:
Login to Make.com and click on Create scenario
Click the big purple plus and choose Custom webhook from the trigger
Click Add and give the webhook a name
This will provide you with a webhook URL for Couchdrop to send the files to, Make.com scenario.
You can now incorporate files sent from Couchdrop into your Make.com scenarios
Please Note: There is a 5MB size limit on files
Configuration Steps in Couchdrop
Once you have set up your Make.com scenario and generated the URL for your custom webhook trigger, you need to configure Make.com as a Storage integration in Couchdrop to send files to.
To do this:
Login to Couchdrop and click on Add Storage Integration under Outbound Connections
Choose Make.com and click Continue
Enter a name for the integration you'll use to find and manage the integration in Couchdrop
Enter a name for the new Couchdrop folder. This will create a new location in Couchdrop that will send files to your Make.com scenario when a new file is uploaded into it.
Take the custom webhook URL you generated in Make.com
Webhook URL: This is the Custom Webhook URL defined in your Make.com scenario above
Once you have done this you can then use this connection as a destination in your inbound connections and transfers, so that when a new file is uploaded it is automatically sent to your Make.com scenario.
Calling Couchdrop from Make.com
Couchdrop is also available as a module inside the Make.com marketplace allowing Make.com users to:
Upload Files to Couchdrop
Make Filesystem API Calls (e.g. Listing Files/Folders)
Make Management API Calls (e.g. Creating users)
Adding the Couchdrop module to a Scenario
To use the Couchdrop module in a Make.com scenario click the plus button and search for Couchdrop, and choose whether you want to:
Make a Filesystem API CAll
Make a Management API Call
Upload to Couchdrop
Upon selection you'll be prompted to complete a form containing a different number of fields depending on which option you selected.
Please Note: All selections require a Couchdrop Connection
Creating a Connection
To create a new connection to the Couchdrop API click on Add and enter the Token for the API user you created in Couchdrop under API Tokens in the Admin section
Upload Files to Couchdrop
The Couchdrop module leverages the Couchdrop API to allow Make.com scnearios to send files to Couchdrop
To do this you first need to choose where you want to upload the file to.
You can do this either by:
Click here to choose folder: Traversing the API Connection Users file system
Map: Toggling on the Map option and manually entering it
Once you have chosen where you want to upload the file to, you need to define the following:
Name: The name you want the file to be uploaded and saved as
Data: The contents from the scenario you want to include in the file
File System API Calls
The Couchdrop module also leverages the Couchdrop API to allow the Make.com scenarios to make filesystem calls to Couchdrop.
URL: Relative URL to the system you are calling (for File System Operations the URL is https://fileio.couchdrop.io
List files/folders: /file/ls
Downloading a file: /file/download
Rename files/folders: /file/rename
Deleting files/folders: /file/remove
Creating a folder: /file/mkdir
Method: POST (for File System Operations the method is always POST)
Headers: (Optional)
Query String: Not required for most file system actions except for Uploading a file, which can be done by using the built in file upload option.
Body: JSON object dependent upon File System action being called.
Management API Calls
The Couchdrop module also leverages the Couchdrop API to allow the Make.com scenarios to make Management API calls to Couchdrop, including managing users, groups, folder permissions and many more.
URL: Relative URL to the system you are calling (for Management API calls the URL is https://api.couchdrop.io
Method: Depends on the Management API call being made
(Please refer to the API documentation)
Headers: Depends on the Management API call being made
(Please refer to the API documentation)
Query String:
Parameter(s): Depends on the Management API call being made (Please refer to the API documentation)
Body:
JSON object: Depends on the Management API call being made (Please refer to the API documentation)
Last updated
Was this helpful?