Skip to content

Instantly share code, notes, and snippets.

@shaheermir
Created January 14, 2026 21:32
Show Gist options
  • Select an option

  • Save shaheermir/396c6d3098ec5258f46ec70fa4652fed to your computer and use it in GitHub Desktop.

Select an option

Save shaheermir/396c6d3098ec5258f46ec70fa4652fed to your computer and use it in GitHub Desktop.
Task Card Block - Sample Payload
{
"blocks": [
{
"type": "task_card",
"block_id": "task_card_001",
"task_id": "task_xyz789",
"title": "Searching company knowledge base",
"status": "complete",
"details": {
"type": "rich_text",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "Querying internal docs for information about PTO policies and employee benefits."
}
]
}
]
},
"output": {
"type": "rich_text",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "Found 3 relevant documents matching your query."
}
]
}
]
},
"sources": [
{
"type": "source_url",
"url": "https://wiki.example.com/hr/pto-policy",
"text": "PTO Policy Guide"
},
{
"type": "source_url",
"url": "https://wiki.example.com/hr/benefits-overview",
"text": "Employee Benefits Overview"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment