Skip to content

Instantly share code, notes, and snippets.

@ariasortez
Created August 30, 2025 16:32
Show Gist options
  • Select an option

  • Save ariasortez/504fbf1af458f3c552c0c42c7252d34f to your computer and use it in GitHub Desktop.

Select an option

Save ariasortez/504fbf1af458f3c552c0c42c7252d34f to your computer and use it in GitHub Desktop.
Power Automate Course - Adaptative Card JSON
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.4",
"body": [
{
"type": "Container",
"style": "accent",
"items": [
{
"type": "TextBlock",
"text": "📧 Nuevo Correo Recibido",
"weight": "Bolder",
"size": "Medium",
"color": "Light"
}
]
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "TextBlock",
"text": "**De:**",
"weight": "Bolder",
"size": "Small"
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "${from}",
"wrap": true,
"size": "Small"
}
]
}
]
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "TextBlock",
"text": "**Asunto:**",
"weight": "Bolder",
"size": "Small"
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "${subject}",
"wrap": true,
"size": "Small"
}
]
}
]
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "TextBlock",
"text": "**Fecha:**",
"weight": "Bolder",
"size": "Small"
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "${receivedDateTime}",
"wrap": true,
"size": "Small"
}
]
}
]
},
{
"type": "TextBlock",
"text": "**Mensaje:**",
"weight": "Bolder",
"spacing": "Medium"
},
{
"type": "Container",
"style": "emphasis",
"items": [
{
"type": "TextBlock",
"text": "${body}",
"wrap": true,
"maxLines": 10
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment