OpenAI Trigger
Author: bowenliang123
Github Repository: https://github.com/bowenliang123/dify-openai-trigger
Dify Marketplace: https://marketplace.dify.ai/plugins/bowenliang123/openai_trigger
OpenAI Trigger Plugin User Guide
What This Plugin Does
The OpenAI Trigger plugin connects your Dify workflows with OpenAI Webhook events. When something happens in your OpenAI workspace, like receiving an update for batch, evaluation , this trigger plugin automatically starts your Dify workflows to respond to these events.
Get Started
Step 1: Create an OpenAI Webhook Trigger in Dify's workflow
[Image blocked: No description]
Step 2: Create an subscription URL
[Image blocked: No description]
Step 3: Copy the callback URL
[Image blocked: No description]
Step 4: Create a Webhook endpoints in OpenAI platform settings
OpenAI platform settings: https://platform.openai.com/settings
- fill the URL copied from Dify workflow
- select subscription events
[Image blocked: No description]
[Image blocked: No description]
[Image blocked: No description]
Step 5: Fill the Singing secret
- Copy the OpenAI's Signing secret
- Fill it in Dify's OpenAI Webhook trigger settings
[Image blocked: No description]
[Image blocked: No description]
Step 8: Setup Dify workflow
[Image blocked: No description]
[Image blocked: No description]
Available Events
OpenAI's webhook events: https://platform.openai.com/docs/api-reference/webhook-events
Response Events
-
- Sent when a background response has been completed.
-
- Sent when a background response has been cancelled.
-
- Sent when a background response has failed.
-
- Sent when a background response has been interrupted.
Batch Events
-
- Sent when a batch API request has been completed.
-
- Sent when a batch API request has been cancelled.
-
- Sent when a background response has failed.
-
- Sent when a batch API request has failed.
Finetuning Events
-
- Sent when a fine-tuning job has succeeded.
-
- Sent when a fine-tuning job has failed.
-
- Sent when a fine-tuning job has cancelled.
Eval Events
-
- Sent when an eval run has succeeded.
-
- Sent when an eval run has failed.
-
- Sent when an eval run has been canceled.
Realtime Events
-
- Sent when Realtime API Receives a incoming SIP call.