I’ve been wrestling with integrating ShotStack and Airtable for two full days, and I’m stuck. Hoping someone here can help me figure this out.
Here’s what I’m trying to do:
Scenario 1:
- Task: Compress an MP4 file using ShotStack.
- Details:
- MP4 file is sent to ShotStack for compression.
- On completion, ShotStack triggers a webhook (leads to Scenario 2).
- Meanwhile, an Airtable record is updated with the MP4 file’s unique ID and sets “Status = Processing”.
Scenario 2:
- Task: Receive output from ShotStack and update Airtable.
- Details:
- A webhook receives completion data from ShotStack.
- Airtable needs to locate the record using the MP4 file’s unique ID and update the “Status” to “Done”.
Challenges:
- ShotStack’s payload doesn’t support adding metadata or extra parameters to pass the file’s unique ID directly.
- The webhook URL cannot include additional query parameters to carry the file ID, as the data returned in the webhook doesn’t include this ID.
- Organization and scenario variables aren’t viable either, as they could be overwritten by another instance of Scenario 1 by the time Scenario 2 processes, which prevents consistent data tracking.
Question: How can I pass the file ID from Scenario 1 to Scenario 2 effectively, given these limitations?
Any suggestions or workarounds would be greatly appreciated!