Skip to content

Copilot Chat Node

Data/Microsoft/Copilot

Copilot Chat

Send a message to Microsoft 365 Copilot using the official Chat API with streaming support. Supports file context from OneDrive/SharePoint and web search grounding.

data_microsoft_copilot_chatdataLong running
Inputs8
Outputs9
Security exposure10/10
Packagedata

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

8

Input

Execution
exec_in

Trigger

Provider

Struct
provider

Microsoft Graph provider

MicrosoftGraphProviderMicrosoftGraphProvider3 fields
provider_idstringrequired
access_tokenstringrequired
base_urlstringrequired
Schema enforced

Prompt

String
prompt

User message to send to Copilot

Additional Context

String Array
additional_context

Extra grounding context (e.g., document excerpts, facts) to provide to Copilot

Default []

File URLs

String Array
file_urls

OneDrive/SharePoint file URLs to include as context (full URLs like https://contoso.sharepoint.com/...)

Default []

Web Search

Boolean
web_grounding

Enable web search grounding for real-time information

Default true

Timezone

String
timezone

User timezone in IANA format (e.g., America/New_York, Europe/London). Auto-detected from system if empty.

Conversation ID

String
conversation_id

Optional conversation ID to continue a chat (leave empty for new conversation)

Output Pins

9

On Stream

Execution
on_stream

Triggers on streaming output

Chunk

Struct
chunk

Streaming chunk

ResponseChunkResponseChunk8 fields
idstringrequired
choicesArray<ResponseChunkChoice>required
itemsResponseChunkChoicearray item
indexinteger:int32required
format int32
deltaanyOf (2)
variant 1Deltavariant
variant 2nullvariant
finish_reasonstring | null
logprobsanyOf (2)
variant 1LogProbsvariant
variant 2nullvariant
createdinteger | null
format uint64min 0
modelstring | null
service_tierstring | null
system_fingerprintstring | null
usageanyOf (2)
variant 1Usagevariant
completion_tokensinteger:uint32required
format uint32min 0
prompt_tokensinteger:uint32required
format uint32min 0
total_tokensinteger:uint32required
format uint32min 0
costnumber | null
format double
prompt_tokens_detailsanyOf (2)
variant 1PromptTokenDetailsvariant
variant 2nullvariant
+2 more fields
variant 2nullvariant
x_prefill_progressnumber | null
format float
Schema enforced

Done

Execution
done

Completed

Error

Execution
error

Result

Struct
result

Complete response with annotations from citations

ResponseResponse8 fields
idstring | null
choicesArray<Choice>required
itemsChoicearray item
indexinteger:int32required
format int32
finish_reasonstringrequired
messageResponseMessagerequired
rolestringrequired
contentstring | null
refusalstring | null
annotationsarray | null
audioanyOf (2)
+2 more fields
logprobsanyOf (2)
variant 1LogProbsvariant
variant 2nullvariant
createdinteger | null
format uint64min 0
modelstring | null
service_tierstring | null
system_fingerprintstring | null
objectstring | null
usageUsagerequired
completion_tokensinteger:uint32required
format uint32min 0
prompt_tokensinteger:uint32required
format uint32min 0
total_tokensinteger:uint32required
format uint32min 0
costnumber | null
format double
prompt_tokens_detailsanyOf (2)
variant 1PromptTokenDetailsvariant
cached_tokensinteger | null
format uint32min 0
audio_tokensinteger | null
format uint32min 0
variant 2nullvariant
+2 more fields
Schema enforced

RAW Response

Struct
response

Full Copilot response with attributions and adaptive cards

CopilotChatResponseCopilotChatResponse6 fields
idstringrequired
contentstringrequired
created_date_timestring | null
turn_countinteger:int32required
format int32
statestringrequired
messagesArray<CopilotConversationMessage>required
itemsCopilotConversationMessagearray item

Message from Copilot conversation response

idstringrequired
textstringrequired
created_date_timestring | null
attributionsArray<CopilotAttribution>required
itemsCopilotAttributionarray item

Attribution from Copilot response (citations and annotations) Attributions provide source references for information in Copilot's response

adaptive_cardsArray<CopilotAdaptiveCard>required
itemsCopilotAdaptiveCardarray item

Adaptive Card from Copilot response

+1 more fields

Attachments

Struct Array
attachments

Attachments created from Copilot's attributions (citations and references)

AttachmentAttachment2 fields
variant 1stringvariant
variant 2ComplexAttachmentvariant
urlstringrequired
preview_textstring | null
thumbnail_urlstring | null
namestring | null
sizeinteger | null
format uint64min 0
+3 more fields

Conversation ID

String
new_conversation_id

Conversation ID for follow-up messages

Error

String
error_message

Node Info

Internal name
data_microsoft_copilot_chat
Category
Data/Microsoft/Copilot
Version
1