تعريف سير العمل

المشغّل · webhook

trigger: { type: "webhook" }

طلب مُدخل يبدأ تشغيل، وما يحمله يصبح المدخل. المُدخل حيث أن المدخل ليس لك لتثق به.

an inbound requestinput is the bodyuntrusted by nature
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

trigger: { type: "webhook" }

// A step reads what arrived
{ id: "classify", type: "model.generate", config: {
    model: "gemini-3.5-flash",
    prompt: "Classify this event: {{input.event}}" } }
trigger = {"type": "webhook"}

# A step reads what arrived
{"id": "classify", "type": "model.generate", "config": {
    "model": "gemini-3.5-flash",
    "prompt": "Classify this event: {{input.event}}"}}

جاء المدخل من الخارج

عاملها كبيانات، لا كتعليمات

الهيئة التي تصل إلى سرعة النموذج هي نص شخص آخر داخل تعليماتك، قل ماذا ينبغي أن تفعل الخطوة بها -- quot; ender this this }، quot; exter file that this this this that this this that this that this this that this this that that memement that meeting.

حدّد الشكل بنفسك

لا يوجد ضمان بأن يكون هناك حقل condition في بداية السلسلة، التحقق من أن ما تحتاجه موجود، تحويل نداء مشوه إلى فرع بدلا من فشل خمس خطوات بعد ذلك.

{ id: "has_id", type: "condition", config: {
    left: "{{input.id}}", operator: "exists" } }
{"id": "has_id", "type": "condition", "config": {
    "left": "{{input.id}}", "operator": "exists"}}

وتنطبق قاعدة الموافقة على

الطلب الوارد هو أقل ما يتم الإشراف عليه هو المُنَزّل هناك. سلسلة ترسل أو تنشر أو تكتب DNS من احتياجات واحدة human في مرحلة ما قبل الطور، و التعريف بدونه مرفوض.

تكاليف الفترة

فكل نداء يصل هو مجرد هرولة ، وكل تشغيل يكلف تكلفة خطواته .