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

Community site session details

Session Id :
Power Automate - Using Connectors
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! 

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 532 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 461 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 256

Last 30 days Overall leaderboard

Featured topics