Files.com

The Files.com modules allow you to watch, create, update, list, delete, and retrieve the users, groups, and permissions in your Files.com account.

Getting Started with Files.com

Prerequisites

  • A Files.com account

In order to use Files.com with Integromat, it is necessary to have a Files.com account. If you do not have one, you can create a Files.com account at brickftp.com.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Files.com to Integromat

To connect your Files.com account to Integromat you need to obtain the API Key from your Files.com account and insert it in the Create a connection dialog in the Integromat module.

1. Log in to your Files.com account.

2. Click Your Profile Icon > My account. 

3. Navigate to API keys section and click Add key. Enter a name for the API key, enter your account's password, and click Save.

Nsgafa9xx2.gif

4. Copy the API Key to your clipboard. 

MqIRu1ysGF.png

5. Go to Integromat and open the Files.com module's Create a connection dialog.

3xodRWLLsz.gif

6. In the Connection name field, enter a name for the connection.

7. In the Your Files.com API Key field, enter the API key copied in step 4, and click Continue.

The connection has been established.

Users

Watch Users

Triggers when a new user is created.

ConnectionEstablish a connection to your Files.com account.
LimitSet the maximum number of users Integromat should return during one scenario execution cycle.

Get a User

Gets a user's details by ID.

ConnectionEstablish a connection to your Files.com account.
User ID Select or map the User ID whose details you want to retrieve.

Create a User

Creates a new user.

ConnectionEstablish a connection to your Files.com account.
UsernameEnter the user's username.
PAsswordEnter the user's account password.
Source File

Avatar Name

Enter the name of the avatar file. 

Avatar Data

Enter (map) the data of the avatar file.

Disabled

Select whether the user is disabled. Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.

Bypass Inactive Disable

Select whether you want to always keep the user active. When selected yes, prevents the user from being disabled due to inactivity.

Authentication Method

Select or map the authentication method for the user. For example, passwordSSO.

Password Validity DatesEnter (map) the number of days the user can use the same password. 
Require Password Change On LoginSelect whether you want to force the user to change the password on their next login.
Email

Enter the user's email address.

Group IDs

Add the Group IDs to which you want to add the user.

Site Admin

Select whether you want to mark the user as site admin.

Self-Managed

Does this user manage its own credentials or is it a shared/bot user?

NotesEnter (map) any additional information about the user you want to save internally.
FTP PermissionSelect whether the user can access the files using FTP.
REST API PermissionSelect whether the user has access to the REST API.
SFTP PermissionSelect whether the user can access the files using SFTP.
Allowed IPsAdd the IP addresses which are allowed to this user. When left blank, allows the user to connect to all the IPs. The format should be 192.168.1.0/27.
FTP Root FolderSelect or map the FTP Root Folder to show as the root when this user logs in through the FTP interface.

Ensure this folder exists, as it will not be automatically created. Does not apply to the web interface. This should not contain a leading slash but must contain a trailing slash. For example, Users/jenny/.

Grant Permissions On Root FolderSelect or map the user permissions you want to grant to the root folder:
  • Read/Write/Delete
  • Read Only
  • Write Only
  • Preview Only
  • History

Update a User

Updates a user by ID.

ConnectionEstablish a connection to your Files.com account.
User ID Select or map the User ID whose details you want to update.
UsernameEnter the user's username.
PAsswordEnter the user's account password.
Source FileAvatar Name

Enter the name of the avatar file. 

Avatar Data

Enter (map) the data of the avatar file.

DisabledSelect whether the user is disabled. Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
Bypass Inactive DisableSelect whether you want to always keep the user active. When selected yes, prevents the user from being disabled due to inactivity.
Authentication MethodSelect or map the authentication method for the user. For example, passwordSSO.
Password Validity DatesEnter (map) the number of days the user can use the same password. 
Require Password Change On LoginSelect whether you want to force the user to change the password on their next login.
EmailEnter the user's email address.
Group IDs

Add the Group IDs to which you want to add the user.

Site Admin

Select whether you want to mark the user as site admin.

Self-ManagedSelect whether this user manages their own credentials or is it a shared/bot user.
NotesEnter (map) any additional information about the user you want to save internally.
FTP PermissionSelect whether the user can access the files using FTP.
REST API PermissionSelect whether the user has access to the REST API.
SFTP PermissionSelect whether the user can access the files using SFTP.
Allowed IPsAdd the IP addresses which are allowed to this user. When left blank, allows the user to connect to all the IPs. The format should be 192.168.1.0/27.
FTP Root FolderSelect or map the FTP Root Folder to show as the root when this user logs in through the FTP interface.

Ensure this folder exists, as it will not be automatically created. Does not apply to the web interface. This should not contain a leading slash but must contain a trailing slash. For example, Users/jenny/.

Grant Permissions On Root FolderSelect or map the user permissions you want to grant to the root folder:
  • Read/Write/Delete
  • Read Only
  • Write Only
  • Preview Only
  • History

Delete a User

Deletes a user by ID.

ConnectionEstablish a connection to your Files.com account.
User ID Select or map the User ID you want to delete.

Search Users

Searches for specific users or lists them all.

ConnectionEstablish a connection to your Files.com account.
SearchEnter (map) the name, email, or username of the user you want to search for. 
LimitSet the maximum number of users Integromat should return during one scenario execution cycle.

Groups

Watch Groups

Triggers when a new group is created.

ConnectionEstablish a connection to your Files.com account.
LimitSet the maximum number of groups Integromat should return during one scenario execution cycle.

Get a Group

Gets a single group by ID.

ConnectionEstablish a connection to your Files.com account.
Group ID Select or map the Group ID whose details you want to retrieve.

Create a Group

Creates a new group.

ConnectionEstablish a connection to your Files.com account.
NameEnter (map) the name of the group.
NotesEnter (map) the additional information about the group which you want to save.
User IDsAdd the User IDs which you want to add to the group.
Have a Teams Power plan or higher?Select whether the group has a power plan or a higher plan to it.

Update a Group

Updates a group by ID.

ConnectionEstablish a connection to your Files.com account.
Group IDSelect or map the Group ID whose details you want to update.
NameEnter (map) the name of the group.
NotesEnter (map) the additional information about the group which you want to save.
User IDsAdd the User IDs which you want to add to the group.
Have a Teams Power plan or higher?Select whether the group has a power plan or a higher plan to it.

Delete a Group

Deletes a group by ID.

ConnectionEstablish a connection to your Files.com account.
Group ID Select or map the Group ID you want to delete.

Search Groups

Searches for specific groups or lists them all.

ConnectionEstablish a connection to your Files.com account.
Group IDsAdd the Group IDs you want to list.
LimitSet the maximum number of groups Integromat should return during one scenario execution cycle.

Permissions

Create Permission

Creates new permission.

ConnectionEstablish a connection to your Files.com account.
TypeSelect or map the permissions you want to create:
  • Group Permission
  • User Permission
Group IDSelect or map the Group ID to which you want to grant the permission.
User IDSelect or map the User ID to whom you want to grant the permission.
PermissionSelect or map the permission level for the user:
  • Full
  • Read Only
  • Write Only
  • Preview Only
  • History
  • Admin
Folder PathEnter the folder path to which you want to give permission to the user.
RecursiveSelect whether you want to apply the same permissions to the subfolders.

Delete a Permission

Deletes permission by ID.

ConnectionEstablish a connection to your Files.com account.
Permission ID Select or map the Permission ID you want to delete.

Search Permission

Searches for specific permissions or lists them all.

ConnectionEstablish a connection to your Files.com account.
Filter BySelect or map the option to filter the records.
PathSelect or map the path whose permissions you want to search.
Group IDSelect or map the Group ID whose permissions you want to search.
User IDSelect or map the User ID whose permissions you want to search.
Include GroupsSelect whether you want to include user's permissions that are inherited from its groups.
LimitSet the maximum number of permissions Integromat should return during one scenario execution cycle.

Files

Watch File Uploads

Triggers when a new file is uploaded to a specific folder.

ConnectionEstablish a connection to your Files.com account.
Folder IDSelect or map the Folder ID whose uploads you want to watch.
LimitSet the maximum number of file uploads Integromat should return during one scenario execution.

Upload a File

Uploads a file.

ConnectionEstablish a connection to your Files.com account.
File NameEnter (map) the file name with extension. For example, sample.png.
File DataEnter (map) the data of the file.
Folder IDSelect or map the Folder ID to which you want to upload

Other

Make an API Call

Performs an arbitrary authorized API call.

ConnectionEstablish a connection to your Files.com account.
URL

Enter a path relative to https://app.files.com/api/rest. For example: /v1/files

For the list of available endpoints, refer to the Files.com API Documentation.
Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

HeadersEnter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query StringEnter the request query string.
BodyEnter the body content for your API call.

Example of Use - List Groups

The following API call returns all the groups from your Files.com account:

URL:
/v1/groups.json

Method:
GET

6JL7mIsVsA.png

Matches of the search can be found in the module's Output under BundleBody
In our example, 4 groups were returned:

4Obp0f9xlr.png

 

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.