{
"type": "AdaptiveCard",
"body": [
{
"type": "TextBlock",
"text": "Passenger 1",
"weight": "bolder",
"size": "medium"
},
{
"type": "Input.Text",
"id": "Name1",
"placeholder": "Enter name"
},
{
"type": "Input.ChoiceSet",
"id": "passenger_type1",
"style": "compact",
"choices": [
{
"title": "Adult",
"value": "Adult"
},
{
"title": "Child",
"value": "Child"
}
]
},
{
"type": "Input.Number",
"id": "flight_id1",
"placeholder": "Enter flight ID"
},
{
"type": "Input.Text",
"id": "seat_number1",
"placeholder": "Enter seat number"
},
{
"type": "Input.Number",
"id": "age1",
"placeholder": "Enter age"
},
{
"type": "Input.Text",
"id": "ticket_number1",
"placeholder": "Enter ticket number"
},
{
"type": "TextBlock",
"text": "Passenger 2",
"weight": "bolder",
"size": "medium"
},
{
"type": "Input.Text",
"id": "Name2",
"placeholder": "Enter name"
},
{
"type": "Input.ChoiceSet",
"id": "passenger_type2",
"style": "compact",
"choices": [
{
"title": "Adult",
"value": "Adult"
},
{
"title": "Child",
"value": "Child"
}
]
},
{
"type": "Input.Number",
"id": "flight_id2",
"placeholder": "Enter flight ID"
},
{
"type": "Input.Text",
"id": "seat_number2",
"placeholder": "Enter seat number"
},
{
"type": "Input.Number",
"id": "age2",
"placeholder": "Enter age"
},
{
"type": "Input.Text",
"id": "ticket_number2",
"placeholder": "Enter ticket number"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Submit"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3"
}
Then, you can read all the values and call a Power Automate flow, for instance, that would create multiple records into a database:
Hope it helps!
Ferran