Step 1. Created the Dropbox Source for New File.
Step 2. Created a New Workflow
Step 3. Selected My Sources, and linked the Dropbox Source
Step 4. Cleared the files from Dropbox folder to be triggered for new file
Step 5. Selected Workflow that linked to Source
Step 6. Clicked on Run Now button
Step 7. Moved a file into Dropbox Folder
When I review the source logs, the transaction for the even shows up.
I’m just not sure how to access the trigger from either a webhook or any type of url.
Obviously I’m missing the concept of how to access when the source is triggered. I have been using the axios within my workflows (v1s) to get information using the Dropbox api calls. The workflows that I’m creating all start with an https:// url that triggers the workflows. Those workflows are initiated by a fetch statement within either my javascript within my app or within my Pipedream workflow to call another url. Each of the url’s return data.
However, when creating a Source event for the Dropbox add new file, there doesn’t appear to be a url associated with the Source. When I go into the Source trigger, it shows that it’s waiting for events to occur.
I’ve tried adding 2 types of triggers. 1. with the url, and 2. with the Dropbox Source trigger.
Within the logs for the Dropbox Source new file, there exists 5 lines per log transaction…
2024-01-19T21:46:19 end
2024-01-19T21:46:19 db.set
db[“dropbox_state”] ⭅ {“path”:“/SolePro_DB/sjn001tvh/~FileQ”,“recursive”:true,“cursor”:“AAHQqxfarN9wm3–uLi3goNkuS3thJh4_cx2ChtTRRB9FGMECiQJ4Q7RlJWQrT0CkZQypp4nL2nv9p64-uycK6dN9sh832_PlB2AYN18oFTPr8fZ5nfSWuVHs5UODPBiPUXbKlI6ynMaDf7TlJ5BsmEQgR1yUy18QGvY2ldUyVSbsdgmWFX47tfS8YTQrArqZ9uUojgyWtEohxKkQEp9JF9nUts0x0Yb0PD9wY6-1-bFiNwkD6sEljA9zoThaxzrDnmm2-Lu9WeVUv1e0S9J3SjB”}
2024-01-19T21:46:18 db.get
db[“dropbox_state”] ⭆ {“path”:“/SolePro_DB/sjn001tvh/~FileQ”,“recursive”:true,“cursor”:“AAF2OrFDcbC4HNKa9Chn1b7mMVPyyIu102OmcJuoj3SVM5MoRJQ3QwQx9qHWptsckIw4QZ7fpU2lmIsSR5FKdY4lbulUF4i972B2_Fe9fZV5MjHvMzM5TYRwJ1fmjLYqtnRgseq7zZ5mgdDJWnbX3tiRybZw12tT5t11iv8bF64sF8k0L8cSiM0LhjMRBLX2SBYG_UjKwhtNpTqRfCOyPqbnUqs-H7cycv1CC7aS4EwIn6JRfZJC-VSNKoJYzXwb3oq7XRomO0a9PwWx3lBqAb-c”}
2024-01-19T21:46:18 db.get db[“last_file_mod_time”] ⭆ “2024-01-20T05:45:50Z”
2024-01-19T21:46:18 start { “timestamp”: 1705729578 }
I can’t figure out what method is available to me to access these logs. And what is the url that I can use to wait for a response from this trigger to indicate that a new file has been placed in the Dropbox folder?
Thanks,
Scott.