app icon
OpenAI Trigger
0.2.0

OpenAI Webhook Trigger for Dify, receiving real-time notifications about events in the API of batch, response, evaluation, fine-tuning and etc.

bowenliang123/openai_trigger647 installs

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

  1. fill the URL copied from Dify workflow
  2. select subscription events

[Image blocked: No description]

[Image blocked: No description]

[Image blocked: No description]

Step 5: Fill the Singing secret

  1. Copy the OpenAI's Signing secret
  2. 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.
CATEGORY
Trigger
VERSION
0.2.0
bowenliang123·12/08/2025 02:04 AM
REQUIREMENTS
Maximum memory
256MB
OpenAI Trigger - Dify Marketplace