Overview
This node acts as a webhook trigger for Vocant AI transcription results. It receives transcription data via a POST webhook, validates the request using an API key, fetches the transcription text from Vocant AI's API, and outputs the transcription as both JSON metadata and a base64-encoded text file. It is useful for automating workflows that need to process or store transcription results from Vocant AI in real-time.
Use Case Examples
- Automatically trigger a workflow when a transcription job completes in Vocant AI.
- Fetch and store transcription text files for further processing or analysis.
- Send notifications or updates based on transcription results received from Vocant AI.
Output
Binary
Base64-encoded transcription text file with MIME type 'text/plain' and filename 'transcription_.txt'.
JSON
success- Indicates if the transcription retrieval was successful (true/false).jobId- The unique identifier of the transcription job.timestamp- The ISO timestamp when the webhook was processed.status- Error status if the transcription retrieval failed.message- Error message describing the failure reason.originalData- The original webhook payload received, useful for debugging.
Dependencies
- Vocant AI API key credential required for authentication.
Troubleshooting
- Unauthorized error occurs if the 'x-api-key' header in the webhook request does not match the stored API key. Ensure the correct API key is configured and sent.
- Invalid webhook data error occurs if the webhook payload does not contain a 'jobId'. Verify that Vocant AI sends the correct payload structure.
- HTTP request to Vocant AI API may fail due to network issues or invalid API key. Check API key validity and network connectivity.
Links
- Vocant AI API Documentation - API endpoint used to download transcription results by job ID.