Ulf
Member
I have a use case, where users upload their name, address and up to 3 audio files with fluent forms on my wordpress site. Since users are usually not very good at naming their files properly, I need to rename them to identify which file came from which user. When a form is submitted, the following automation is triggered: (Please see attached images)
1. Trigger: FluentForms: New form sent
2. Action: Router A: check if audio file is WAV, rename file to {first.name}-{lastname}.wav, upload file to Google drive folder
Router B: check if audio file is MP3, rename file to {first.name}-{lastname}.mp3, upload file to Google drive folder
This is already working very well with a single audio file uploaded! Now here is part where I am lost:
I want to allow users to upload from 1-3 files. So there are 3 different possibilities on how many files arrive. My question is:
1 - Is there a possibility to somehow loop the action until all files are processed and is there a way this works on a changing number of files with each form sent?
2 - Is there a way to insert an increasing count number from 1-3 into the renamed file like {first.name}-{lastname}{count-number}.wav
Thank you very much,
Ulf
1. Trigger: FluentForms: New form sent
2. Action: Router A: check if audio file is WAV, rename file to {first.name}-{lastname}.wav, upload file to Google drive folder
Router B: check if audio file is MP3, rename file to {first.name}-{lastname}.mp3, upload file to Google drive folder
This is already working very well with a single audio file uploaded! Now here is part where I am lost:
I want to allow users to upload from 1-3 files. So there are 3 different possibilities on how many files arrive. My question is:
1 - Is there a possibility to somehow loop the action until all files are processed and is there a way this works on a changing number of files with each form sent?
2 - Is there a way to insert an increasing count number from 1-3 into the renamed file like {first.name}-{lastname}{count-number}.wav
Thank you very much,
Ulf