Good day. I am new to pipedrive but finding it really amazing.
I’ve started experimenting with the following automation which downloads an audio file from a selected google drive folder, transcribes it using open ai whisper services and processes it and then posts the result to a notion page
I have gotten it working successfully in test mode and once deployed, but
the test flow makes use of a specifically named instance of an audio file uploaded and once deployed it would continue repeatedly downloading and processing that same file even though the trigger tests for new files.
I can’t seem to figure out how to set a dynamic value for newly uploaded files and can’t find any documentation which would explain how to do that.
If anyone could help with any clues that would be fantastic.
Hello! It seems like you want to set a dynamic value for the audio file in your workflow. To achieve this, you can use the “New File in Google Drive” trigger from the Google Drive app. This trigger will listen for new files uploaded to the specified folder in your Google Drive and pass the file information to the next steps in your workflow.
Here’s how to set up the trigger:
In your Pipedream workflow, search for the Google Drive app from the trigger menu.
Select the “New File in Google Drive” trigger.
Connect your Google Drive account.
Choose the folder you want to monitor for new files.
Once you’ve set up the trigger, the information about the new file, including its URL, will be available in the steps.trigger.event object. You can use this URL to download and process the audio file using OpenAI Whisper and then send the result to a Notion page.
If you need further assistance, please let me know!
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double check my answers and code! Learn how to build your own.
I have the parts described in your response done already, but the part which specifies a dynamic object doesn’t seem to be obvious
Under here This workflow is triggered on: New Files (Instant) from Google Drive Select a different event
It keeps a reference to a specific instance of a file with a set name and timestamp.
There is no option to select or set a dynamic parameter anywhere on;y a dropdown with previously uploaded files.
I am not sure how to proceed, each time I run the deployment it just fetches the same previously downloaded file from my test runs even when the trigger is a new file, it doesn’t make use of the new file at all.