Skip to main content

I have one Zap where a trigger from Monday.com creates a series of folders on Egnyte where Creative Assets would be loaded by the creative agency. Then it sends an update back to Monday.com. This works perfectly.

The folder structure is as such:

  • Shared/Creative Assets < primary folder
  • Shared/Creative Assets/Campaign < campaign folder, first one created in the Zap
  • Shared/Creative Assets/Campaign/Tactic < these are created via a Path in the same Zap. There may be 1 to 5 of these sub-folders depending how many different tactics a campaign is running

From there I’d like to create a Zap where when files are uploaded to the newly created folders we can either post an update in Monday.com and/or send an email to the appropriate stakeholders. 

I have been trying to play around with Sub-Zaps but I’m truly stuck (as it’s been a few years since i’ve used Zapier and a lot has changed). But Egnyte trigger of “New File in Folder” doesn’t seem to be an option in a Sub-Zap.

So then I was thinking maybe if I pushed the info needed to a Google sheet to reference when the New File in Folder trigger, but I’m stuck on it gathering when files are added to folders below Shared/Creative Assets. 

Any thoughts on how to accomplish this?

Hi ​@Ali_Sawit 

Sub-Zaps must start with this Zap trigger: Sub-Zap - Start a Sub-Zap

 

Zap trigger: Egnyte - New File in Folder

Field: Folder

Validation: Required

Means you can only watch 1 specific Folder for new Files, and must be an existing Folder.

 


Hi ​@Ali_Sawit 

Sub-Zaps must start with this Zap trigger: Sub-Zap - Start a Sub-Zap

 

Zap trigger: Egnyte - New File in Folder

Field: Folder

Validation: Required

Means you can only watch 1 specific Folder for new Files, and must be an existing Folder.

 

Okay, so what’s a potential solution - do you have a recommendation? 

Why would I need to manually create a Zap for every individual folder in order to be notified when files are uploaded? 

Is there anything I could add to the original Zap when the folder is created that would enable the notification when files uploaded?


@Ali_Sawit 

Is there anything I could add to the original Zap when the folder is created that would enable the notification when files uploaded?

No, because those would be action steps, but you need a trigger step.

 

You can try reaching out to Egnyte Support for possible guidance with their app and Zap app integration.

The solution may involve Engynte webhooks or the Engynte API.

https://developers.egnyte.com/docs/read/File_System_Management_API_Documentation#List-File-or-Folder

https://storage.googleapis.com/pint-internal-static-hosting/connectWebhooks/index.html


Hi ​@Ali_Sawit, welcome to the Community! 🎉

Why would I need to manually create a Zap for every individual folder in order to be notified when files are uploaded? 

The Folder field is a required field so you’d need to set up the New File in Folder (Egnyte) trigger in each Zap to look at a different folder. There’s a feature request open for that trigger to be able to ‘see’ files added within sub folders of the selected folder. This would allow you to select a main folder and have a Zap trigger on any new file that’s added within that folder or any of it’s sub folders. So I’ve gone ahead and added your vote to that feature request which will help to increase it’s priority. While I can’t guarantee if or when this will be added, we’ll be sure to notify you via email once it becomes available!

In the meantime you could, as Troy mentioned, look into setting up webhooks on Egnyte’s end to send a Zap a webhook containing the necessary file details. If you’d like to explore that I’d also recommend checking out our guide on how to set up a Webhooks trigger to ‘catch’ the webhooks that are sent from Egnyte: Trigger Zaps from webhooks

Alternatively, you could have the creative agency just upload the files into a single folder, then have a Zap organise them into the relevant client folder based on the file name, similar to this sort of approach:

But there isn’t a “Move File” type of action available for Egnyte so the Zap would need to upload the file into the client folder, which would result in there being two copies of the file stored, one in the main folder and one in the client folder which isn’t ideal.

So webhooks is likely going to be your best bet here. Do let us know if you run into any issues in setting it up—happy to help if you get stuck at all! 🙂


Reply