[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77PT96202CZYGEMMBW20RVP":3,"skill-same:01M77PT96202CZYGEMMBW20RVP":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M77PT96202CZYGEMMBW20RVP","openclaw-dynamics-365",null,"Create and update CRM records in Microsoft Dynamics 365 — Opportunities, Leads, Contacts, Accounts, and Tasks via Dataverse Web API with Azure AD OAuth 2.0.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fo\u002Fopenclaw-dynamics-365\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: openclaw-dynamics-365\ndescription: Create and update CRM records in Microsoft Dynamics 365 — Opportunities, Leads, Contacts, Accounts, and Tasks via Dataverse Web API with Azure AD OAuth 2.0.\nmetadata:\n  openclaw:\n    requires:\n      env:\n        - DYNAMICS365_CLIENT_ID\n        - DYNAMICS365_CLIENT_SECRET\n        - DYNAMICS365_TENANT_ID\n        - DYNAMICS365_INSTANCE_URL\n    primaryEnv: DYNAMICS365_INSTANCE_URL\n---\n\n# Dynamics 365 CRM Skill\n\n## When to activate\n\nActivate this skill when the user mentions **Microsoft Dynamics 365**, **D365**, **Dynamics CRM**, or any of the following actions directed at a Dynamics 365 CRM:\n\n- Creating or updating an **opportunity** \u002F deal \u002F oportunidade\n- Creating or updating a **lead**\n- Creating or updating a **contact** \u002F contacto\n- Creating or updating an **account** \u002F empresa \u002F conta\n- Creating a **task** \u002F activity linked to a CRM record\n\n## Credentials required\n\n| Variable | Description |\n|---|---|\n| `DYNAMICS365_CLIENT_ID` | Azure AD Application (client) ID |\n| `DYNAMICS365_CLIENT_SECRET` | Azure AD client secret |\n| `DYNAMICS365_TENANT_ID` | Azure AD Tenant ID — use `common` for multi-tenant |\n| `DYNAMICS365_INSTANCE_URL` | Dynamics 365 instance URL, e.g. `https:\u002F\u002Fcontoso.crm.dynamics.com` |\n\n## Step-by-step execution\n\n### 1 — Identify intent and entity type\n\nDetermine from the user's message which entity to create or update:\n\n| User says | Entity | Action |\n|---|---|---|\n| \"create deal\", \"new opportunity\", \"deal com X\" | Opportunity | upsert |\n| \"new lead\", \"criar lead\", \"prospect X\" | Lead | upsert |\n| \"add contact\", \"criar contacto\", \"cliente X no CRM\" | Contact | upsert |\n| \"new account\", \"empresa Y no CRM\", \"criar conta\" | Account | upsert |\n| \"create task\", \"follow-up\", \"lembrete para X\" | Task | create |\n\n### 2 — Extract fields from user input\n\n**Opportunity fields:**\n- `name` — deal \u002F opportunity name (required)\n- `estimatedvalue` — numeric value in local currency\n- `stepname` — pipeline stage: \"Qualify\" \u002F \"Develop\" \u002F \"Propose\" \u002F \"Close\"\n- `actualclosedate` — expected close date (ISO: YYYY-MM-DD)\n\n**Lead fields:**\n- `fullname` — full name (required)\n- `emailaddress1` — email address\n- `companyname` — company name\n- `telephone1` — phone number\n- `jobtitle` — job title\n\n**Contact fields:**\n- `fullname` — full name (required)\n- `emailaddress1` — email address\n- `telephone1` — phone number\n- `jobtitle` — job title\n\n**Account fields:**\n- `name` — company \u002F account name (required)\n- `emailaddress1` — email address\n- `telephone1` — phone number\n- `websiteurl` — website\n\n**Task fields:**\n- `subject` — task title (required)\n- `description` — details \u002F notes\n- `scheduledend` — due date-time (ISO 8601)\n- `prioritycode` — 0 = Low, 1 = Normal, 2 = High\n\n### 3 — Call the appropriate method\n\nUse the `Dynamics365Client` from the `openclaw-dynamics-365` npm package:\n\n```typescript\nimport { Dynamics365Client } from \"openclaw-dynamics-365\";\n\nconst client = new Dynamics365Client(\n  process.env.DYNAMICS365_INSTANCE_URL,\n  accessToken,  \u002F\u002F obtained via OAuth flow\n);\n\n\u002F\u002F Opportunity\nconst result = await client.upsertOpportunity({ name: \"Deal Contoso\", estimatedvalue: 50000 });\n\n\u002F\u002F Lead\nconst result = await client.upsertLead({ fullname: \"João Silva\", companyname: \"TechNova\" });\n\n\u002F\u002F Contact\nconst result = await client.upsertContact({ fullname: \"Maria Santos\", emailaddress1: \"maria@techno.com\" });\n\n\u002F\u002F Account\nconst result = await client.upsertAccount({ name: \"TechNova Ltda\" });\n\n\u002F\u002F Task\nconst taskId = await client.createTask({ subject: \"Follow-up call\", prioritycode: 2 });\n```\n\n### 4 — Format response to the user\n\nOn success:\n```\n✅ [Entity] \"[name]\" [created\u002Fupdated] in Dynamics 365.\n🔗 [record URL]\n```\n\nOn error:\n```\n❌ Could not [create\u002Fupdate] [entity] in Dynamics 365: [error message]\n```\n\n## OAuth setup\n\nFor initial authorization, use `getAuthorizationUrl()` to redirect the user to\nMicrosoft's consent screen, then `exchangeCodeForTokens()` in the callback:\n\n```typescript\nimport { getAuthorizationUrl, exchangeCodeForTokens } from \"openclaw-dynamics-365\";\n\n\u002F\u002F 1. Redirect user\nconst url = getAuthorizationUrl(config, redirectUri, state);\n\n\u002F\u002F 2. In callback\nconst tokens = await exchangeCodeForTokens(config, code, redirectUri);\n\n\u002F\u002F 3. Refresh when expired (~1h)\nif (isTokenExpired(tokens)) {\n  tokens = await refreshAccessToken(config, tokens.refreshToken);\n}\n```\n\n## Notes\n\n- The Dataverse Web API uses **OData v4** — all queries use `$filter`, `$select`, `$top`\n- Upsert operations search by name\u002Femail first to avoid duplicates\n- Lookup fields (e.g. linking a Contact to an Account) use OData binding syntax:\n  `\"parentcustomerid_account@odata.bind\": \"\u002Faccounts({accountId})\"`\n- Rate limit: **6,000 requests \u002F 5 minutes** per user — well within typical usage\n- Access tokens expire after **~1 hour** — implement refresh logic using `refreshAccessToken()`\n","# Dynamics 365 CRM Skill\n\n## When to activate\n\nActivate this skill when the user mentions **Microsoft Dynamics 365**, **D365**, **Dynamics CRM**, or any of the following actions directed at a Dynamics 365 CRM:\n\n- Creating or updating an **opportunity** \u002F deal \u002F oportunidade\n- Creating or updating a **lead**\n- Creating or updating a **contact** \u002F contacto\n- Creating or updating an **account** \u002F empresa \u002F conta\n- Creating a **task** \u002F activity linked to a CRM record\n\n## Credentials required\n\n| Variable | Description |\n|---|---|\n| `DYNAMICS365_CLIENT_ID` | Azure AD Application (client) ID |\n| `DYNAMICS365_CLIENT_SECRET` | Azure AD client secret |\n| `DYNAMICS365_TENANT_ID` | Azure AD Tenant ID — use `common` for multi-tenant |\n| `DYNAMICS365_INSTANCE_URL` | Dynamics 365 instance URL, e.g. `https:\u002F\u002Fcontoso.crm.dynamics.com` |\n\n## Step-by-step execution\n\n### 1 — Identify intent and entity type\n\nDetermine from the user's message which entity to create or update:\n\n| User says | Entity | Action |\n|---|---|---|\n| \"create deal\", \"new opportunity\", \"deal com X\" | Opportunity | upsert |\n| \"new lead\", \"criar lead\", \"prospect X\" | Lead | upsert |\n| \"add contact\", \"criar contacto\", \"cliente X no CRM\" | Contact | upsert |\n| \"new account\", \"empresa Y no CRM\", \"criar conta\" | Account | upsert |\n| \"create task\", \"follow-up\", \"lembrete para X\" | Task | create |\n\n### 2 — Extract fields from user input\n\n**Opportunity fields:**\n- `name` — deal \u002F opportunity name (required)\n- `estimatedvalue` — numeric value in local currency\n- `stepname` — pipeline stage: \"Qualify\" \u002F \"Develop\" \u002F \"Propose\" \u002F \"Close\"\n- `actualclosedate` — expected close date (ISO: YYYY-MM-DD)\n\n**Lead fields:**\n- `fullname` — full name (required)\n- `emailaddress1` — email address\n- `companyname` — company name\n- `telephone1` — phone number\n- `jobtitle` — job title\n\n**Contact fields:**\n- `fullname` — full name (required)\n- `emailaddress1` — email address\n- `telephone1` — phone number\n- `jobtitle` — job title\n\n**Account fields:**\n- `name` — company \u002F account name (required)\n- `emailaddress1` — email address\n- `telephone1` — phone number\n- `websiteurl` — website\n\n**Task fields:**\n- `subject` — task title (required)\n- `description` — details \u002F notes\n- `scheduledend` — due date-time (ISO 8601)\n- `prioritycode` — 0 = Low, 1 = Normal, 2 = High\n\n### 3 — Call the appropriate method\n\nUse the `Dynamics365Client` from the `openclaw-dynamics-365` npm package:\n\n```typescript\nimport { Dynamics365Client } from \"openclaw-dynamics-365\";\n\nconst client = new Dynamics365Client(\n  process.env.DYNAMICS365_INSTANCE_URL,\n  accessToken,  \u002F\u002F obtained via OAuth flow\n);\n\n\u002F\u002F Opportunity\nconst result = await client.upsertOpportunity({ name: \"Deal Contoso\", estimatedvalue: 50000 });\n\n\u002F\u002F Lead\nconst result = await client.upsertLead({ fullname: \"João Silva\", companyname: \"TechNova\" });\n\n\u002F\u002F Contact\nconst result = await client.upsertContact({ fullname: \"Maria Santos\", emailaddress1: \"maria@techno.com\" });\n\n\u002F\u002F Account\nconst result = await client.upsertAccount({ name: \"TechNova Ltda\" });\n\n\u002F\u002F Task\nconst taskId = await client.createTask({ subject: \"Follow-up call\", prioritycode: 2 });\n```\n\n### 4 — Format response to the user\n\nOn success:\n```\n✅ [Entity] \"[name]\" [created\u002Fupdated] in Dynamics 365.\n🔗 [record URL]\n```\n\nOn error:\n```\n❌ Could not [create\u002Fupdate] [entity] in Dynamics 365: [error message]\n```\n\n## OAuth setup\n\nFor initial authorization, use `getAuthorizationUrl()` to redirect the user to\nMicrosoft's consent screen, then `exchangeCodeForTokens()` in the callback:\n\n```typescript\nimport { getAuthorizationUrl, exchangeCodeForTokens } from \"openclaw-dynamics-365\";\n\n\u002F\u002F 1. Redirect user\nconst url = getAuthorizationUrl(config, redirectUri, state);\n\n\u002F\u002F 2. In callback\nconst tokens = await exchangeCodeForTokens(config, code, redirectUri);\n\n\u002F\u002F 3. Refresh when expired (~1h)\nif (isTokenExpired(tokens)) {\n  tokens = await refreshAccessToken(config, tokens.refreshToken);\n}\n```\n\n## Notes\n\n- The Dataverse Web API uses **OData v4** — all queries use `$filter`, `$select`, `$top`\n- Upsert operations search by name\u002Femail first to avoid duplicates\n- Lookup fields (e.g. linking a Contact to an Account) use OData binding syntax:\n  `\"parentcustomerid_account@odata.bind\": \"\u002Faccounts({accountId})\"`\n- Rate limit: **6,000 requests \u002F 5 minutes** per user — well within typical usage\n- Access tokens expire after **~1 hour** — implement refresh logic using `refreshAccessToken()`\n",{"name":5,"metadata":24,"description":7},{"openclaw":25},{"requires":26,"primaryEnv":31},{"env":27},[28,29,30,31],"DYNAMICS365_CLIENT_ID","DYNAMICS365_CLIENT_SECRET","DYNAMICS365_TENANT_ID","DYNAMICS365_INSTANCE_URL","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fo\u002Fopenclaw-dynamics-365",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill openclaw-dynamics-365",{"tool":47,"command":48},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill openclaw-dynamics-365",{"tool":50,"command":51},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill openclaw-dynamics-365","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fo\u002Fopenclaw-dynamics-365\u002FSKILL.md",true,[],[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]