Müşteri adayı toplama örneği

Müşteri adayı toplama örneği, bir dizi ürünle ilgilenen kişilerle temas kurabilecek kişilerden müşteri adaylığı toplamak için tasarlanmış bir Uyarlamalı Kart giriş formudur. Ürünlere yönelik seçimleri değiştirebilirsiniz. Her seçenekte görüntü metni ve birisi kartı gönderdikten sonra çıkış olarak verilecek bir iç değerin olabileceğini unutmayın (bu değerler, örnek kod bloğunda gösterdiğimiz değerler ile aynı olabilir).

Müşter adayı bildirimi.

Girişler/Çıkışlar ve notlar:

Dinamik Belirteç Adı Yer Tutucu Metni Notlar
Başlık Görüntü metni
acInstructions Görüntü metni
acLeadFName {firstName} Yanıt çıktısı
acLeadLName {lastName} Yanıt çıktısı
acLeadEmail {emailAddress} Yanıt çıktısı
acLeadPrimaryPhone {primaryPhone10digits} Yanıt çıktısı
acLeadProductInterest {productInterests} Yanıt çıktısı
Her seçimin virgülle ayrıldığı çoklu seçim değerleri olarak.
{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "type": "AdaptiveCard",
    "version": "1.0",
    "body": [
        {
            "type": "ColumnSet",
            "columns": [
                {
                    "type": "Column",
                    "width": 2,
                    "items": [
                        {
                            "type": "TextBlock",
                            "text": "Lead Notification",
                            "weight": "Bolder",
                            "id": "Title",
                            "size": "ExtraLarge"
                        },
                        {
                            "type": "TextBlock",
                            "text": "Please fill out a single form for each individual expressing interest in our products. ",
                            "isSubtle": true,
                            "wrap": true,
                            "id": "acInstructions",
                            "size": "Large"
                        }
                    ]
                }
            ]
        },
        {
            "type": "Container",
            "items": [
                {
                    "type": "TextBlock",
                    "text": "Potential Customer FIRST NAME",
                    "wrap": true,
                    "size": "Medium"
                }
            ]
        },
        {
            "type": "Input.Text",
            "id": "acLeadFName",
            "placeholder": "{firstName}"
        },
        {
            "type": "TextBlock",
            "text": "Potential Customer LAST NAME",
            "wrap": true
        },
        {
            "type": "Input.Text",
            "id": "acLeadLName",
            "placeholder": "{lastName}"
        },
        {
            "type": "TextBlock",
            "text": "Corporate email",
            "wrap": true
        },
        {
            "type": "Input.Text",
            "id": "acLeadEmail",
            "placeholder": "{emailAddress}",
            "style": "Email"
        },
        {
            "type": "TextBlock",
            "text": "Business Phone Number"
        },
        {
            "type": "Input.Text",
            "id": "acLeadPrimaryPhone",
            "placeholder": "{primaryPhone10digits}",
            "style": "Tel"
        },
        {
            "type": "RichTextBlock",
            "inlines": [
                {
                    "type": "TextRun",
                    "text": "{productInterests}"
                }
            ]
        },
        {
            "type": "Input.ChoiceSet",
            "placeholder": "Placeholder text",
            "choices": [
                {
                    "title": "Office 365",
                    "value": "Office 365"
                },
                {
                    "title": "Dynamics 365",
                    "value": "Dynamics 365"
                },
                {
                    "title": "Azure Services",
                    "value": "Azure Services"
                },
                {
                    "title": "Power Platform",
                    "value": "Power Platform"
                }
            ],
            "style": "expanded",
            "id": "acLeadProductInterest",
            "isMultiSelect": true
        }
    ],
    "actions": [
        {
            "type": "Action.Submit",
            "title": "Submit"
        }
    ]
}