AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Add Node

skill-microsoft-skills-for-copilot-studio-add-node · by microsoft

Add or modify a node in an existing Copilot Studio topic. Use when the user asks to add a question, message, condition, variable, or other node to a topic. Do NOT use this for generative answers or knowledge search — use /add-generative-answers instead.

No reviews yet
0 installs
34 views
0.0% view→install

Install

$ agentstack add skill-microsoft-skills-for-copilot-studio-add-node

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-microsoft-skills-for-copilot-studio-add-node)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Add Node? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Add Node to Topic

Add a new node to an existing Copilot Studio topic, or modify an existing one.

In Copilot Studio, the elements inside a topic's actions array are nodes (SendActivity, Question, ConditionGroup, etc.). These are different from actions (actions/*.mcs.yml), which are connector-based TaskDialogs. This skill handles nodes within topics.

For generative answers (SearchAndSummarizeContent, AnswerQuestionWithAI), use the /add-generative-answers skill instead — it has the specific patterns, follow-up ConditionGroup logic, and disambiguation guidance needed to set them up correctly.

Instructions

  1. Auto-discover the agent directory:

`` Glob: **/agent.mcs.yml `` NEVER hardcode an agent name.

  1. Parse the arguments to identify:
  • The node type (SendActivity, Question, SetVariable, ConditionGroup, etc.)
  • The target topic file
  • If modifying an existing node, which node to modify
  1. Look up the node schema:

``bash node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js resolve ``

  1. Read the existing topic file to understand its current structure.
  1. Generate or modify the node with:
  • A unique ID (format: _)
  • All required properties from the schema
  • Appropriate default values
  1. Determine the correct insertion point in the actions array and present the plan to the user before writing.

Common Node Types

| Node | Purpose | Key Properties | |------|---------|----------------| | SendActivity | Send message | kind, id, activity | | Question | Ask user input | kind, id, variable, prompt, entity | | SetVariable | Set/compute value | kind, id, variable, value | | SetTextVariable | Set text with interpolation (YAML-only, no canvas) | kind, id, variable, value | | ConditionGroup | Branching logic | kind, id, conditions | | BeginDialog | Call another topic | kind, id, dialog | | EndDialog | End topic | kind, id | | CancelAllDialogs | Cancel all topics | kind, id |

Generative Orchestration Guidelines

When the agent has GenerativeActionsEnabled: true:

  • Prefer AutomaticTaskInput over Question nodes for collecting user info (the orchestrator handles prompting automatically).
  • Still use Question nodes when: conditional asks (ask X only if Y), or end-of-flow confirmations.
  • Prefer topic outputs over SendActivity for returning results.
  • Do NOT use SendActivity to show final outputs unless it's a precise mid-flow message.

Power Fx Quick Reference

  • Expressions start with =: condition: =System.FallbackCount < 3
  • String interpolation uses {}: activity: "Error: {System.Error.Message}"
  • Variable init on first assignment: variable: init:Topic.MyVar
  • Common: Text(), Now(), IsBlank(), !IsBlank()

Example: Adding a Question Node

- kind: Question
  id: question_k7xPm2
  variable: init:Topic.UserName
  prompt: What is your name?
  entity: StringPrebuiltEntity
  alwaysPrompt: true
  interruptionPolicy:
    allowInterruption: false

Important Notes

  • Unique IDs: Use random 6-8 alphanumeric characters. Duplicate IDs cause Copilot Studio errors.
  • Verify the node type exists in the schema before generating.
  • For ConditionGroup, include at least one condition item with its own unique ID.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.