[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BA932904X3G17WCMRXM7Q":3,"skill-same:01M69BA932904X3G17WCMRXM7Q":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":28,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M69BA932904X3G17WCMRXM7Q","create",null,"microsoft\u002FEmployee-Self-Service-Agent-Developer-Kit","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69B8MRC17NGDB6TFWV3247A",31,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fworkflows\u002Fcreate\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# Create Workflow Skill\n\nThis skill guides the user through creating a new Power Automate cloud flow for their Copilot Studio agent.\n\nThis skill is local-only. Finish by saying the local workflow is ready and\nDA-GA deployment is not yet available. Do not offer workflow testing because\nit requires remote\nrun-history inspection.\n\n## IMPORTANT: When NOT to Create a New Workflow\n\n**Do NOT create a standalone workflow for ServiceNow, Workday, or SAP scenarios.**\nThese integrations ship with a **shared flow pre-installed via their extension\npack**. The shared flow reads template configs from Dataverse and handles all\nCRUD operations. Customers never create or modify these flows — they only create\ntemplate configs and topics. See `src\u002Freference\u002Fess-docs\u002Fcustomization\u002Fcustomize.md`.\n\n**Only create a new standalone workflow when:**\n- The scenario requires an integration that does NOT have an ESS extension pack (e.g., ADP, Jira, custom HTTP APIs, or other 3P tools)\n- The customer needs a custom connector for an internal API\n- The user explicitly requests a standalone workflow after being informed about the template config pattern\n\nIf the user asks to create a workflow for ServiceNow, Workday, or SAP, explain\nthat the corresponding DA-GA product extension is required and its setup\nguidance is not yet available in this release. Do not create a standalone flow\nor enter the retired Dataverse template-config path.\n\n## Rules\n\n- Do NOT run terminal commands or scripts. Use built-in file reading and writing tools only.\n- ALWAYS read existing workflow files in the user's agent folder (`{agent.folder}\u002Fworkflows\u002F`) as schema examples before generating any workflow JSON.\n- ALWAYS read the agent's `connectionreferences.mcs.yml` to understand connector wiring.\n- ALWAYS read `.local\u002Fconfig.json` to get the agent folder name.\n- Create the workflow in a new folder: `{agent.folder}\u002Fworkflows\u002F{WorkflowName}-{GUID}\u002F`\n- Write both `metadata.yml` and `workflow.json` into that folder.\n- After writing, check for errors using the diagnostics tool.\n- **TRACK PROGRESS**: Use the todo list tool to track your progress through this skill's steps. Create a todo list at the start with all the steps, mark each in-progress as you start it, and mark completed when done.\n\n## Step 1: Understand the Request\n\nAsk the user: \"What should this workflow do? What external system does it call, and what data should it return?\"\n\nFrom their response, determine:\n- **What connector** it uses (ServiceNow, Workday, Dataverse, HTTP, etc.)\n- **What operation** it performs (query records, create record, update, delete, custom API call)\n- **What inputs** it needs from the topic (IDs, search terms, parameters)\n- **What outputs** it returns to the topic (data, success flag, error message)\n\n## Step 2: Check Existing Workflows\n\nRead `workspace\u002Fagents\u002F{agent.slug}\u002Fworkflows.md` to see if a suitable workflow already exists. If the agent already has a workflow that does something similar, tell the user:\n- \"Your agent already has a workflow called '{name}' that {does X}. Would you like to use that one, or create a new one?\"\n\nAlso check `workspace\u002Fagents\u002F{agent.slug}\u002Fconnections.md` to see which connectors are already configured. If the needed connector isn't available, tell the user they'll need to add it through the Copilot Studio portal first.\n\n## Step 3: Generate the Workflow\n\nRead the template from an existing workflow in the agent folder (e.g., `{agent.folder}\u002Fworkflows\u002F*\u002Fworkflow.json`).\n\nGenerate a new GUID for the workflow ID. You can use any valid GUID format (8-4-4-4-12 hex characters).\n\nCreate two files:\n\n### metadata.yml\n```yaml\njsonFileName: workflows\u002F{WorkflowName}-{GUID}\u002Fworkflow.json\nworkflowId: {GUID}\nname: {WorkflowDisplayName}\ntype: 1\ndescription: \"{Description}\"\nsubprocess: false\ncategory: 5\nmode: 0\nscope: 4\nstateCode: 1\nstatusCode: 2\nisTransacted: true\n```\n\n### workflow.json\nCustomize the template by:\n1. Setting the correct `connectionReferences` — match the `connectionReferenceLogicalName` to a value from `workspace\u002Fagents\u002F{agent.slug}\u002Fconnections.md`\n2. Defining trigger inputs — what the topic will pass to the workflow\n3. Adding the correct connector action — use the right `operationId` for the task\n4. Defining the response outputs — what data goes back to the topic\n\nFor connector-specific action parameters:\n- **ServiceNow**: Read `src\u002Freference\u002Fess-docs\u002Fintegrations\u002Fservicenow-hrsd-itsm.md` for table names, query syntax, and field names\n- **Workday**: Read `src\u002Freference\u002Fess-docs\u002Fintegrations\u002Fworkday.md` for SOAP operations and scenario names\n\nShow the user the generated workflow and explain:\n- What inputs it expects\n- What connector operation it calls\n- What outputs it returns\n- How it handles errors\n\n## Step 4: Write the Files\n\nAfter the user approves:\n1. Create the workflow folder: `{agent.folder}\u002Fworkflows\u002F{WorkflowName}-{GUID}\u002F`\n2. Write `metadata.yml`\n3. Write `workflow.json`\n4. Check for errors using the diagnostics tool\n5. If errors exist, show them and propose fixes\n6. If clean, show the user:\n   - Links to the created files so they can review them\n   - The Copilot Studio web link: `https:\u002F\u002Fcopilotstudio.microsoft.com\u002F`\n   - Example: \"Your workflow is ready! Review it here: `{agent.folder}\u002Fworkflows\u002F{WorkflowName}-{GUID}\u002Fworkflow.json` and test it in [Copilot Studio](https:\u002F\u002Fcopilotstudio.microsoft.com\u002F).\"\n\nAfter the files are written, record anonymous usage telemetry (best-effort,\nnon-blocking — no user-facing message, and it never fails the step):\n\n```\npython scripts\u002Femit_capability.py workflow_create\n```\n\n## Step 5: Connect to a Topic\n\nAfter the workflow is created, the user needs a topic to call it. Tell them:\n- \"Your workflow is ready with ID `{GUID}`. To use it from a topic, add an `InvokeFlowAction` with `flowId: {GUID}`.\"\n- \"Would you like me to create a topic that calls this workflow?\"\n- Unless the workspace uses AgentBuilder, ask: \"Want to check it works? I can exercise **{WorkflowName}** now and read its run history.\"\n  - On yes: read `src\u002Fskills\u002Fworkflows\u002Ftest\u002FSKILL.md` and run its debug-and-validate loop **scoped to {WorkflowName}** — you already know the component (you just created this workflow), so **skip the \"topic or workflow?\" question**. Exercise the flow's failure inputs (missing record, unauthorized, malformed) alongside the valid request, then inspect the run.\n- For AgentBuilder, say workflow testing is not yet available because it\n  requires remote run-history inspection.\n\nIf they say yes, hand off to the existing topic creation skill\n(`src\u002Fskills\u002Ftopics\u002Fcreate\u002FSKILL.md`).\n",{},"main","a1b1bbb8aaa2435985ea2242cf836acf31b8a390","solutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fworkflows\u002Fcreate",19,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 11:15:28",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add microsoft\u002FEmployee-Self-Service-Agent-Developer-Kit --skill create",{"tool":37,"command":38},"bunx","bunx skills add microsoft\u002FEmployee-Self-Service-Agent-Developer-Kit --skill create",{"tool":40,"command":41},"pnpm","pnpm dlx skills add microsoft\u002FEmployee-Self-Service-Agent-Developer-Kit --skill create","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fworkflows\u002Fcreate\u002FSKILL.md",true,[],[46,53,61,68,75,83],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":52},"01M7DQNXR0NPE3CRMP2FYZVGFH","topic-actions","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Ftopic-actions\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M6PJDNK6N62M11V5WPFY8PK0","servicenow-da","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fconnect\u002Fservicenow-da\u002FSKILL.md",[],[59,60],"servicenow","servicenow da",{"skillNo":62,"name":63,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M6PJDHJHJYWRPB3NFKY8J7SY","servicenow-da-itsm","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fconnect\u002Fservicenow-da-itsm\u002FSKILL.md",[],[59,67],"servicenow da itsm",{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M6PJD93VBG12YV42JC80VTQJ","servicenow-da-hrsd","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fconnect\u002Fservicenow-da-hrsd\u002FSKILL.md",[],[59,74],"servicenow da hrsd",{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M69BAFGZ25JSN9W1GMP16NHD","ESS-Diagnostics-Skills","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Ftools\u002FESS-Diagnostics-Skills\u002FSKILL.md",[],[81,82],"ESS Diagnostics Skills","diagnostics",{"skillNo":84,"name":85,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M69BADVK3HC5BCARHN74EEGJ","update","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fworkflows\u002Fupdate\u002FSKILL.md",[],[85]]