شعار Workflows Development

Workflows Development

مؤسسة
CrowdStrike
workflows-development

Create and configure Falcon Fusion SOAR workflow YAML for Falcon Foundry apps. TRIGGER when user asks to "create a workflow", "build an automation", "configure Falcon Fusion SOAR", "add an on-demand workflow", runs `foundry workflows create`, or needs help with Falcon Fusion YAML syntax, triggers, actions, or variable references. DO NOT TRIGGER for UI pages, functions, or collection schemas — use the appropriate sub-skill.

نظرة عامة

الناشرCrowdStrike
المستودعfoundry-skills
اسم المهارةworkflows-development
النجوم
37
التفريعات
7
الملفات المرفقة
8
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 8

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها CrowdStrike على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Workflows Development في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/CrowdStrike/foundry-skills/tree/main/skills/workflows-development
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CrowdStrike/foundry-skills.git /tmp/foundry-skills
mkdir -p .claude/skills
cp -r /tmp/foundry-skills/skills/workflows-development .claude/skills/workflows-development
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Workflows Development في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Workflows Development تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Workflows Development بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Foundry Workflows Development

Write every workflow definition in Falcon Fusion YAML, validate step dependencies before running it, and handle failures with conditional routing and action-level flags (Error Handling) — Fusion has no onError blocks and no built-in retry.

Part of a suite. If development-workflow has not already run, and this is a new app or its first capability, load the development-workflow skill first — it owns the CLI prerequisite check, scaffolding order, and manifest coordination.

Prerequisites

  • Workflow Author role is required in addition to the Falcon Developer role
  • Workflows are YAML templates provisioned as active instances (up to 25 per template)
  • provision_on_install: true is REQUIRED in the workflow YAML — treat it as a per-workflow checklist item, not a footnote. With true, installing the app creates the workflow in Falcon Fusion SOAR, turned on. With false, the deploy is "Successful" and the template is listed in the app's Logic section, but installing creates no workflow, so nothing runs until something provisions it (the /workflows/system-definitions/provision API). Use false deliberately: for a workflow with an action ID you can't verify, which the user finishes in the console (see Platform Action Fallback Strategy), or to let an app install without the credentials a workflow needs, as the sample apps' e2e tests do.

CLI Scaffolding

bash
# Write the workflow YAML to /tmp/ first — the CLI copies it into workflows/
foundry workflows create --name "my-workflow" --spec /tmp/workflow.yaml --no-prompt
# After: edit workflows/my-workflow.yml to refine workflow logic

Discover Available Actions and Triggers

bash
foundry workflows actions view --name "send email" --no-prompt              # Look up by name
foundry workflows actions view --name "send email" --no-prompt --output-schema  # Output schema
foundry workflows actions view --name "send email" --no-prompt --mock       # Mock output
foundry workflows triggers view --no-prompt                                 # List triggers

Always use --no-prompt on actions view/triggers view — without it, multiple or partial matches trigger an interactive prompt that fails in headless environments (Error: no TTY available); as of CLI 2.1.1 matches are listed non-interactively. The bundled action_search.py works without a manifest directory — see references/action-discovery.md.

Workflow Structure

Trigger + Actions Format (standard)

This is the format produced by foundry workflows create and used by many Foundry sample apps — a trigger: (with next: naming the first action) plus an actions: map where each action carries an id, properties, version_constraint, and optional next:, closing with output_fields: []. See references/workflow-examples.md for the full canonical YAML (on-demand Okta list → print).

Trigger types:

TypeFormat
On demandname: On demand, type: On demand
Scheduledevent: Schedule, schedule: {time_cycle: "0 */6 * * *", tz: Etc/UTC}

Trigger parameters (inputs the console prompts for when an on-demand workflow runs) are a JSON Schema object under trigger:, read in actions as ${data['name']}:

yaml
trigger:
    name: On demand
    type: On demand
    parameters:
        type: object
        properties:
            recipient:
                type: string
                description: Who gets the report
        required:
            - recipient

⚠️ Null-guard trigger parameters: When run from the Falcon console the UI prompts for parameters, but via API or from another workflow they may be empty. Guard with a conditions: branch (cel_expression: data['param'] != null && data['param'] != '', routing to a handler via else:) or inline in CEL with a ternary: ${data['param'] != null ? data['param'] : "default"}. Full conditions: block: references/cel-expressions.md.

Variable syntax in actions: Use ${data['action_key.path.to.field']} CEL expressions. See Variable References for the full syntax. Do NOT use $action_name.output.body — it passes as a literal string and is not resolved.

Version constraints: Set version_constraint: ~N on each action, where N is the major version of the activity's declared semantic_version (not its iteration count): ~0 when the activity has no semantic_version (functions, API integrations) or a 0.x one (Contain device is 0.0.x); ~1 for a 1.x one (Print data, Send email, Create/Update variable, Get device details). Some samples omit it on function actions. Check with scripts/action_search.py "<action>" --details, which prints the semantic_version and the matching constraint; a worked ~0/~1 example is in references/workflow-examples.md.

Manifest Configuration

yaml
# manifest.yml
workflows:
  - name: my-workflow
    path: workflows/my-workflow.yml
    permissions: []

Trigger type and schedule are defined inside the workflow YAML file (via trigger: block), not in the manifest. The manifest only declares the workflow name, path, and optional permissions.

RTR scripts are not supported in certified Foundry apps (apps published to the CrowdStrike Store). RTR workflows work in custom/internal apps only. For full RTR multi-host orchestration and investigation-pipeline examples, see references/workflow-examples.md.

Calling Functions from Workflows

Functions called via id: functions.{name}.{handler} must have workflow_integration in the manifest. Set it at create time with foundry functions create --wf-expose (plus --input-schema/--output-schema). For a function created without it whose schemas are already set, add the block to the handler in manifest.yml (id: "", disruptive, system_action, tags, as --wf-expose writes it) and redeploy: the deploy fills in the id and binds it, including on a function that was already deployed without one. Missing it fails deploy with referenced function '{name}' and handler '{handler}' does not have workflow_integration properties defined.

⚠️ Every non-empty properties: on a function action needs a declared request_schema. A function action passes the handler only the properties its request_schema declares; an undeclared property is silently dropped, even with additionalProperties: true, and no error is raised. Symptom: a function that "runs fine" but behaves as if an input was blank. Declare every property the workflow passes. Declare the schema at create time via foundry functions create … --input-schema (hand-editing the manifest does not bind it).

Calling the app's own AI agent: id: ai_agents.<agent name> with input (the prompt) and version_constraint: ~1; the agent needs exposure.workflows.system_action: true, and its reply is read downstream as ${data['action_key.response']}. apps validate doesn't resolve it — check the deploy output. Full walkthrough (aliasing, the (2018) Action was not found trap, json_with_schema field access) in the ai-agents-development skill's references/workflow-invocation.md.

⚠️ Reading Falcon alerts/detections/incidents? Depends on whether the workflow already holds the object. Enriching one the workflow was triggered on (query by its ID) → Event Query action, schemaless. Fetching a population you don't have ("summarize all high-severity alerts") → source-of-truth API: a native platform action (e.g. Cases → Search Cases) or a FalconPy Alerts/Detects function — an Event Query can silently return nothing (NG-SIEM contents are connector-dependent). See references/event-query-vs-api.md.

Calling API Integration Operations

💡 Consider HTTP Actions first. For a one-off REST call (no custom UI or reusable function), an HTTP Action is faster than an API integration — no app, no OpenAPI spec, no deploy, 130+ templates. Use a full API integration when the operation is reused across workflows or paired with functions/UI. See references/http-actions.md.

⚠️ Always call a registered integration via api_integrations.{name}.{operationId} — never a function making raw HTTP calls to the same API with hardcoded creds or {{API_TOKEN}}-style templates. The platform owns auth, rate limiting, and audit logging.

{name} must match the manifest api_integrations entry, prefixed Custom_ in the variable path (the platform adds it to every integration name). The action id: uses the operationId, but the next segment of the output path comes from the operation's x-cs-operation-config.workflow.name with spaces turned into underscores: an operation with operationId: Get leavers data and workflow name Workday get leavers data is called as api_integrations.Workday get leavers data.Get leavers data and read as …API_Integration.Custom_Workday_get_leavers_data.Workday_get_leavers_data.body. Copy the path from the editor's Workflow data panel. The OpenAPI operationId's x-cs-operation-config must nest the config under a workflow: key (name, description, expose_to_workflow: true, system: false) — a flat expose_to_workflow: true will not work. Auth scopes for CLI-created artifacts are managed automatically. Full action + x-cs-operation-config example: references/workflow-examples.md.

Platform Actions

Platform actions (send email, log output, create detection) require platform-specific action IDs, verified identical across us-1, us-2, and eu-1. The two most used are Print data aadbf530e35fc452a032f5f8acaaac2a and Send email 07413ef9ba7c47bf5a242799f59902cc; the full lookup table (Create/Update variable, Sleep, Get device details, Contain device, Request human input) is in references/action-discovery.md. For any action not listed, use foundry workflows actions view --name "..." --no-prompt. There are 9,000+ platform actions — MUST NOT guess action IDs; use discovery commands.

Common Action Properties

Print data has three inputs: fields (the CLI reports type string; the samples pass a YAML list of ${...} pills), text_data (string — general-purpose), custom_json (object only). Use text_data for API-integration responses since body may be an array; data path action_key.API_Integration.Custom_{Name}.{Workflow_name}.body (copy exact paths from the editor's Workflow data panel). Send email is secondary — add only when explicitly requested, skip in headless runs, and ask for a real to address (placeholders fail at runtime). Its inputs are to (a list of addresses), subject, msg, and msg_type (text or html), plus optional file_attachment and skip_workflow_header. Its ID is the verified one above, so it needs no lookup; actions view --name "Send email" also matches similarly named actions such as Gmail - Send Email. Full send_email action example: references/workflow-examples.md.

Variable References

Falcon Fusion SOAR uses Common Expression Language (CEL) for data references — all use ${data['...']} syntax. The action_key is the YAML key of the action (e.g. list_users), NOT its id; an API integration's path segment is Custom_{name} (spaces → underscores). Common forms: API body ${data['action_key.API_Integration.Custom_Name.Workflow_name.body']} (Workflow_name is the operation's x-cs-operation-config.workflow.name with spaces → underscores; index an array element inside the braces: ${data['…body'][0].field}), platform output namespaced by action type (${data['action_key.Device.GetDetails.Platform']}, ${data['action_key.RTR.PutAndRun.stdout']}), app AI-agent reply ${data['action_key.response']} (a json_with_schema agent uses ${data['action_key.<schema field>']} instead), function output ${data['action_key.FaaS.<function>.<handler>.<field>']} (loop item …<field>.#.<item field>), and trigger parameter ${data['param_name']}. The full table with every form is in references/cel-expressions.md; copy exact paths from the editor's Workflow data panel.

CRITICAL: Do NOT use $action_name.output.body — it passes as a literal string and is NOT resolved at runtime. Always use ${data['...']} expressions.

CEL Expressions

Falcon Fusion SOAR supports CEL for data transformations, conditions, and field access. Key patterns: null-safe access with != null (${data['action.field'] != null ? data['action.field'] : "default"}), size() before indexing a list, and array access with the index INSIDE the braces (${data['…body'][0]}, not after).

has() only works on retrieved objects, not data store keys. has(data['key']) fails with Q0910; use data['key'] != null for keys, or has(data['var'].field) to check a field on an already-retrieved object.

CrowdStrike adds custom CEL extensions (cs.json.decode(), cs.ip.valid(), cs.timestamp.parse(), etc.). For the full pattern catalog, runnable snippets, the has() vs != null guide, and extension details, see references/cel-expressions.md.

Control Flow

Loops iterate over arrays or paginate with cursor-based conditions. They are self-contained sub-workflows at the root loops: level; the action before a loop must name it in its next: list or the loop deploys but never runs. A loop item is referenced with ${<input>.#}, and a loop item's field is ...<field>.#.<item field>.

Conditions route with an FQL-style expression: or a CEL cel_expression:, each with an optional else: fallback branch.

See references/workflow-examples.md for full loop (DeviceLoop with platform-check routing) and condition examples from production apps.

Join Resolution & Cyclic References

Falcon Fusion SOAR builds a DAG. A node inside a parallel branch MUST NOT reach a downstream join both directly and through a child — Falcon Fusion SOAR reads that as a cycle and fails the deploy:

❌ A.next: [Join, B] + B.next: [Join] → 2001 cyclic reference to previously seen node … FROM_B_TO_parallel_A

Fix: linearize. Make every node whose output a consumer reads a single-path ancestor of that consumer — A → B → Join. The pill from A still reaches Join because A stays an ancestor.

Silent variant (no error): a store/aggregator that reads a node X's output (${data['X.<field>']}) when X sits on a diamond fork resolves EMPTY at the join — the pill comes back blank, not an error, which is very hard to diagnose. Same rule, same fix: any node whose output you read must be a single-path ancestor of the reader, never a shared fork.

A consumer can only read an ancestor's output. A parallel branch whose next: chain never leads to the consumer deploys fine, yet its pill comes back blank there. Make the producer an ancestor of the consumer: add a direct next: edge when nothing else the producer feeds also reaches the consumer, and otherwise linearize as above, since a direct edge plus a path through a sibling is the 2001 cycle.

See Diamond Joins for a worked diamond showing the failure and the linearized rewrite.

The "0" Gotcha

See pagination-patterns for the "0" gotcha and fix pattern. Key point: check for both null and "0" in loop conditions.

Workflow Name Uniqueness

Workflow names must be unique across all apps installed in a CID. The clash shows up at install, not deploy: two apps whose workflows share a name both deploy and release, but installing the second one ends in Install failed (the app's state reads Installation failed). Use app-specific prefixes when the workflow name is generic.

The exception is multi_instance: true at the top of the workflow YAML. With it, the second app installs, and Falcon Fusion SOAR renames its copy with a timestamp suffix (<name> - 2026-10-29T05:01:07Z) instead of rejecting it. Set it when several apps created from the same template may be installed in one CID. It doesn't change whether installing creates the workflow, which is still provision_on_install.

NEVER Delete and Recreate Workflows

Removing a workflow from the manifest does NOT delete its server-side artifact — recreating with the same name → 409 name must be unique for an app, and a once-failed artifact taints the dependency graph (400 dependent artifact failed), blocking all further deploys. Update in place instead: keep the manifest entry and its name, edit the YAML, and redeploy; to re-bind to a recreated function, update the id: functions.{name}.{handler} reference. Only delete a workflow if you truly won't recreate it with the same name. If an in-place structural edit hits a 409, use the sticky-409 recipe below. A 400 dependent artifact failed is different: the failed artifact blocks every later deploy of the app, and recovery means a fresh app (see ai-agents-development's references/workflow-invocation.md).

Sticky-409 recovery (structural change re-provisions and 409s)

A structural edit that re-provisions a workflow (a new action, an edited next/edge, an added trigger parameter) can fail with Duplicate workflow name (409) / system definition with id … already provisioned on cid …. Deleting the Falcon Fusion SOAR workflow does NOT free the name — a used name stays reserved, so re-deploying the same name keeps 409ing. The reliable escape is to rename to a brand-new unique name AND strip the id (do both; either one alone still 409s) — the full step-by-step recovery is in references/advanced-patterns.md.

Error Handling

Foundry workflows handle errors through conditional routing and action-level flags — not onError blocks or retry middleware. Key mechanisms: action-level continue_on_error: true, continue_on_partial_execution (concurrent loops), and conditions:/else: on Workflow.Execution.Errors. No built-in retry or backoff exists. For the full table, examples, and pagination-polling pattern, see references/advanced-patterns.md.

Testing

See references/advanced-patterns.md for workflow testing commands (mock triggers, mock actions, execution validation, and foundry apps validate).

Reading Guide

TaskReference
Reading alerts/detections: Event Query vs. source-of-truth APIreferences/event-query-vs-api.md
Full workflow examples (RTR, investigation)references/workflow-examples.md
Platform action discovery via APIreferences/action-discovery.md
CEL expressions (patterns, has() vs null, extensions, schemaless, extension functions)references/cel-expressions.md
Pagination strategiesreferences/pagination-patterns.md
HTTP Actions (call REST APIs without an app)references/http-actions.md
Error handling, HTTP Request actions, parameterized fields, counter-rationalizationsreferences/advanced-patterns.md

Use Cases

Real-world patterns: use-cases/schemaless-queries.md (CEL, Event Query config), use-cases/api-pagination.md (pagination in functions and workflows), use-cases/custom-soar-actions.md (custom Falcon Fusion SOAR actions).

Reference Implementations

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة أثناء تحميل المهارة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Workflows Development؟

Create and configure Falcon Fusion SOAR workflow YAML for Falcon Foundry apps. TRIGGER when user asks to "create a workflow", "build an automation", "configure Falcon Fusion SOAR", "add an on-demand workflow", runs `foundry workflows create`, or needs help with Falcon Fusion YAML syntax, triggers, actions, or variable references. DO NOT TRIGGER for UI pages, functions, or collection schemas — use the appropriate sub-skill.

لماذا تستخدم Workflows Development على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Workflows Development عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Workflows Development في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/CrowdStrike/foundry-skills/tree/main/skills/workflows-development. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Workflows Development؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Workflows Development؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Workflows Development معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Workflows Development مجانية؟

نعم. نشرها CrowdStrike على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇