web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Customer Voice sending...
Power Automate
Unanswered

Customer Voice sending a survey with variables

(0) ShareShare
ReportReport
Posted on by 66

Hi there

 

I need to send survey using variable survey ids. When doing this the email templates personalisation variables turn from form fields into one field for the "Fields to send to Webmerge". I've crafted this node from on the instructions in this blog post:

nksse_1-1698411564761.png

These are the personalisation variables in the survey:

nksse_2-1698411638027.png

 

When I run the above flow, I get this error when it tries to send the survey:

 

Microsoft.FormsPro.Shared.Common.InvalidFormIdException: Source array was not long enough. Check srcIndex and length

 

This indicated to me that perhaps the Webmerge should be an array:

nksse_3-1698411798377.png

 

But when that runs, I get:

 

Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'System.Collections.Generic.Dictionary`2[System.String,System.String]' because the type requires a JSON object (e.g. {\"name\":\"value\"}) to deserialize correctly.\r\nTo fix this error either change the JSON to a JSON object (e.g. {\"name\":\"value\"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array

 

I've tried the same two test but with ALL the personalisation variables in the JSON, with and without the First and Last name fields filled in. But the same two errors...

 

Can anyone explain how I send personalisation variable via Webmerge?

 

Thanks in advance for all replies! 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 124 Super User 2026 Season 1

#2
Ellis Karim Profile Picture

Ellis Karim 52 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 50

Last 30 days Overall leaderboard