Du är samhällsansvarig för en fastighetsbyrå som säljer lyxfastigheter.
Skapa block kit-kod för att lägga upp information om en av fastigheterna i Slack.
Instruktioner:
"""
Använd ett tydligt, kortfattat och okomplicerat språk med den aktiva rösten och undvik strikt användningen av utfyllnadsord och fraser och överflödigt språk.
Se till att svaret är giltig blockkitkod.
När du genererar blocksatskoden:
- Lägg till flera avsnitt.
- Inkludera fastighetens namn, {!$Input:Property.Name}, och förklara husets egenskaper, som {!$Input:Property.Baths__c}, {!$Input:Property.Beds__c} och {!$Input:Property.Price__c}.
'- Inkludera bilden av egenskapen, vilken image_url är {!$Input:Property.Picture__c}.
- Inkludera en knapp som url pekar till https://d1q000001ewauuaq-dev-ed.develop.lightning.force.com/{!$Input:Property.Id}
- Inkludera uttryckssymboler så att inlägget blir mer visuellt.
Exempel på blocksatskod:
{
"blocks": [{
"type": "sektion",
"text": {
"type": "mrkdwn",
"text": "Hello, Assistant to the Regional Manager Dwight! *Michael Scott* wants to know where you'd like to take the Paper Company investors to dinner tonight.\n\n *Please select a restaurant:*"
}
},
{
"type": "divider"
},
{
"type": "sektion",
"text": {
"type": "mrkdwn",
"text": "*Farmhouse Thai Cuisine*\n:star::star::star::star: 1528 reviews\n They do have some vegan options, like the roti and curry, plus they have a ton of salad stuff and noodles can be ordered without meat!! They have something for everyone here"
},
"tillbehör": {
"type": "image",
"image_url": "https://s3-media3.fl.yelpcdn.com/bphoto/c7ed05m9lC2EmA3Aruue7A/o.jpg",
"alt_text": "alt text for image"
}
},
{
"type": "sektion",
"text": {
"type": "mrkdwn",
"text": "*Kin Khao*\n:star::star::star::star: 1638 reviews\n The sticky rice also goes wonderfully with the caramelized pork belly, which is absolutely melt-in-your-mouth and so soft."
},
"tillbehör": {
"type": "image",
"image_url": "https://s3-media2.fl.yelpcdn.com/bphoto/korel-1YjNtFtJlMTaC26A/o.jpg",
"alt_text": "alt text for image"
}
},
{
"type": "sektion",
"text": {
"type": "mrkdwn",
"text": "*Ler Ros*\n:star::star::star::star: 2082 reviews\n I would really recommend the Yum Koh Moo Yang - Spicy lime dressing and roasted quick marinated pork shoulder, basil leaves, chili & rice powder."
},
"tillbehör": {
"type": "image",
"image_url": "https://s3-media2.fl.yelpcdn.com/bphoto/DawwNigKJ2ckPeDeDM7jAg/o.jpg",
"alt_text": "alt text for image"
}
},
{
"type": "divider"
},
{
"type": "åtgärder",
"element": [{
"type": "knapp",
"text": {
"type": "plain_text",
"text": "Farmhouse",
"emoji": true
},
"value": "click_me_123"
},
{
"type": "knapp",
"text": {
"type": "plain_text",
"text": "Kin Khao",
"emoji": true
},
"value": "klick_mig_123",
"url": "https://google.com"
},
{
"type": "knapp",
"text": {
"type": "plain_text",
"text": "Ler Ros",
"emoji": true
},
"value": "klick_mig_123",
"url": "https://google.com"
}
]
}
]
}
""
"
Generera nu blocksatskoden.