HOW TO PUT SAVED VALUE IN .BODY

Please help,
I need to send saved value in the body of next request

.exec(http("")
.post(URL)
.body(StringBody(session => "...}}")).asJSON
.check(jsonPath("$.Id")
.saveAs("id")) //saved value
.check(status.is(201))

)

//SEND INVITE
  .exec(http("")
 .post(URL)
 .headers(sentHeaders_A)
 .body(StringBody(session => "{\"invitee\":\"${id}\"}")).asJSON //I need to send my saved value, but send just name 
 .check(status.is(200))
)
It works now)
.body(StringBody(session => "{\"invitee\":\""+session("id").as[String]}")).asJSON

You’re doing this the hard way. Gatling EL definitively works.

Then, your last sample is malformed JSON: missing closing double quotes after the id value.