Send an Email - Missing value of required parameter 'to'


I have a problem. I still receive this “Missing value of required parameter ‘to’.”. At “to”, I am using a variable that is from a Typeform. I have only email address 1 and is filled with this variable.

Hi @Serin-Eden_Noman and welcome to Make!

That field should only contain an email address but it looks like a complete conversation. Do you know why?

Ideally post a picture of your flow so we can see what you are trying to do. Also, post the output bundle of module 1 so we can see exactly what it produces when you run your scenario.

To do so, runn your scenario, and click on the number in the upper right of your module:

image

Then click on the “download output bundle” to see the result:

and cut and paste the output between code tags

Like this.

The code tag picture in the editor looks like “</>”.

L

1 Like
[
    {
        "form_id": "WuxtuhU9",
        "token": "wjz8fmoxo5oq9pfa6mwjz8fmhm4vhywg",
        "landed_at": "2024-08-27T07:51:38Z",
        "submitted_at": "2024-08-27T07:51:51Z",
        "definition": {
            "id": "WuxtuhU9",
            "title": "My new form",
            "fields": [
                {
                    "id": "MF0BRQhbyzA6",
                    "ref": "e85b72ba-5d00-4064-89cb-0715d35dd0cc",
                    "type": "short_text",
                    "title": "Your name?",
                    "properties": {}
                },
                {
                    "id": "B75R6iA3Ro1E",
                    "ref": "46c7702d-4cd3-468f-b7a6-6c2d4aa287a5",
                    "type": "short_text",
                    "title": "Username?",
                    "properties": {}
                },
                {
                    "id": "vAsK2QuaWxZz",
                    "ref": "f0e8237e-1383-4026-bfc7-d579a94edb6c",
                    "type": "email",
                    "title": "What is your email address?",
                    "properties": {}
                },
                {
                    "id": "byyGg4WBhBEJ",
                    "ref": "af5811bf-d494-4c2a-87ee-77fc5f2b63fe",
                    "type": "long_text",
                    "title": "Business Descrption.",
                    "properties": {}
                }
            ],
            "endings": [
                {
                    "id": "DefaultTyScreen",
                    "ref": "default_tys",
                    "title": "Thanks for completing this typeform\nNow *create your own* — it's free, easy, & beautiful",
                    "type": "thankyou_screen",
                    "properties": {
                        "button_text": "Create a *typeform*",
                        "show_button": true,
                        "share_icons": false,
                        "button_mode": "default_redirect"
                    },
                    "attachment": {
                        "type": "image",
                        "href": "https://images.typeform.com/images/2dpnUBBkz2VN"
                    }
                }
            ]
        },
        "answers": [
            {
                "type": "text",
                "text": "test",
                "field": {
                    "id": "MF0BRQhbyzA6",
                    "type": "short_text",
                    "ref": "e85b72ba-5d00-4064-89cb-0715d35dd0cc"
                }
            },
            {
                "type": "text",
                "text": "test.ai",
                "field": {
                    "id": "B75R6iA3Ro1E",
                    "type": "short_text",
                    "ref": "46c7702d-4cd3-468f-b7a6-6c2d4aa287a5"
                }
            },
            {
                "type": "email",
                "email": "test@gmail.com",
                "field": {
                    "id": "vAsK2QuaWxZz",
                    "type": "email",
                    "ref": "f0e8237e-1383-4026-bfc7-d579a94edb6c"
                }
            },
            {
                "type": "text",
                "text": "test",
                "field": {
                    "id": "byyGg4WBhBEJ",
                    "type": "long_text",
                    "ref": "af5811bf-d494-4c2a-87ee-77fc5f2b63fe"
                }
            }
        ],
        "ending": {
            "id": "DefaultTyScreen",
            "ref": "default_tys"
        },
        "event": {
            "id": "01J69D3NVGH4N3W7RK3ZCCK89V",
            "type": "form_response"
        },
        "mappable_answers": {
            "e85b72ba-5d00-4064-89cb-0715d35dd0cc": "test",
            "46c7702d-4cd3-468f-b7a6-6c2d4aa287a5": "test.ai",
            "f0e8237e-1383-4026-bfc7-d579a94edb6c": "test@gmail.com",
            "af5811bf-d494-4c2a-87ee-77fc5f2b63fe": "test"
        }
    }
]
[
    {
        "form_id": "WuxtuhU9",
        "token": "wjz8fmoxo5oq9pfa6mwjz8fmhm4vhywg",
        "landed_at": "2024-08-27T07:51:38Z",
        "submitted_at": "2024-08-27T07:51:51Z",
        "definition": {
            "id": "WuxtuhU9",
            "title": "My new form",
            "fields": [
                {
                    "id": "MF0BRQhbyzA6",
                    "ref": "e85b72ba-5d00-4064-89cb-0715d35dd0cc",
                    "type": "short_text",
                    "title": "Your name?",
                    "properties": {}
                },
                {
                    "id": "B75R6iA3Ro1E",
                    "ref": "46c7702d-4cd3-468f-b7a6-6c2d4aa287a5",
                    "type": "short_text",
                    "title": "Username?",
                    "properties": {}
                },
                {
                    "id": "vAsK2QuaWxZz",
                    "ref": "f0e8237e-1383-4026-bfc7-d579a94edb6c",
                    "type": "email",
                    "title": "What is your email address?",
                    "properties": {}
                },
                {
                    "id": "byyGg4WBhBEJ",
                    "ref": "af5811bf-d494-4c2a-87ee-77fc5f2b63fe",
                    "type": "long_text",
                    "title": "Business Descrption.",
                    "properties": {}
                }
            ],
            "endings": [
                {
                    "id": "DefaultTyScreen",
                    "ref": "default_tys",
                    "title": "Thanks for completing this typeform\nNow *create your own* — it's free, easy, & beautiful",
                    "type": "thankyou_screen",
                    "properties": {
                        "button_text": "Create a *typeform*",
                        "show_button": true,
                        "share_icons": false,
                        "button_mode": "default_redirect"
                    },
                    "attachment": {
                        "type": "image",
                        "href": "https://images.typeform.com/images/2dpnUBBkz2VN"
                    }
                }
            ]
        },
        "answers": [
            {
                "type": "text",
                "text": "test",
                "field": {
                    "id": "MF0BRQhbyzA6",
                    "type": "short_text",
                    "ref": "e85b72ba-5d00-4064-89cb-0715d35dd0cc"
                }
            },
            {
                "type": "text",
                "text": "test.ai",
                "field": {
                    "id": "B75R6iA3Ro1E",
                    "type": "short_text",
                    "ref": "46c7702d-4cd3-468f-b7a6-6c2d4aa287a5"
                }
            },
            {
                "type": "email",
                "email": "test@gmail.com",
                "field": {
                    "id": "vAsK2QuaWxZz",
                    "type": "email",
                    "ref": "f0e8237e-1383-4026-bfc7-d579a94edb6c"
                }
            },
            {
                "type": "text",
                "text": "test",
                "field": {
                    "id": "byyGg4WBhBEJ",
                    "type": "long_text",
                    "ref": "af5811bf-d494-4c2a-87ee-77fc5f2b63fe"
                }
            }
        ],
        "ending": {
            "id": "DefaultTyScreen",
            "ref": "default_tys"
        },
        "event": {
            "id": "01J69D3NVGH4N3W7RK3ZCCK89V",
            "type": "form_response"
        },
        "mappable_answers": {
            "e85b72ba-5d00-4064-89cb-0715d35dd0cc": "test",
            "46c7702d-4cd3-468f-b7a6-6c2d4aa287a5": "test.ai",
            "f0e8237e-1383-4026-bfc7-d579a94edb6c": "test@gmail.com",
            "af5811bf-d494-4c2a-87ee-77fc5f2b63fe": "test"
        }
    }
]

I hadn’t seen your original answer. I will have to take a bit of time to figure this one out. There may be a simple answer. Can you share a screenshot of your scenario?

L

@Serin-Eden_Noman I took your JSON, parsed it, and took the mappable eamail output and the email was sent correctly.

If you are still having the problem, try deleting and re-adding the Send Email module. If that doesn’t solve it, you really would need to send a screenshot of your scenario so we can see what’s happeneing.

L