# Difficulty sending personalized email with information split in two tables that do not have all common points

**URL:** https://community.glideapps.com/t/difficulty-sending-personalized-email-with-information-split-in-two-tables-that-do-not-have-all-common-points/70947
**Category:** Ask for Help
**Tags:** actions
**Created:** [February 19, 2024, 6:20am UTC](https://community.glideapps.com/t/difficulty-sending-personalized-email-with-information-split-in-two-tables-that-do-not-have-all-common-points/70947 "2024-02-19T06:20:03Z")
**Posts on this page:** 1
**Showing post:** 25

<div class="post-metadata">

### Author: ![prettycold](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/prettycold/32/71118_2.png) [@prettycold](https://community.glideapps.com/u/prettycold)
#### Post date: [February 27, 2024, 6:08am UTC](https://community.glideapps.com/t/difficulty-sending-personalized-email-with-information-split-in-two-tables-that-do-not-have-all-common-points/70947/25 "2024-02-27T06:08:04Z")

</div>

@ThinhDinh - I made decent progress with invoking the zap where I send the JSON Payload and the number of JSON Objects in it as 2 values to my Zap.

I wrote a 3 step Zap where I use Code by Zap (using Python) where I put the objects in a dictionary and then invoke Send Outbound email by Zapier.

I’ve a problem sending this JSON Payload to my Zap as when I trigger the action from my Glide app and look at the Zap run, the value corresponding to JSON Payload doesn’t seem to be present. I tried to pass a lookup column, then changed to a Single value column, a text column. No luck!

My Zap definition from Glide:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/1/61e818a42cbc5428024f4b69dda7fe4df0379850.png)

This is that single value column that I set in my Zap trigger:

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/b/4b53cd55ebf9056ebe3630a6abdf84dcce79e031.png)

And when I click on the button that triggers this Glide action in my app, It calls the Zap and fails there with the following:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/1/61681e17ef4d767f787c56f346c00589a85fe0f7.png)

Though I pass 2 values, in the zap output only Value 2 is passed.

Anything catches anybody’s eye?

Just to test the zap, I tested the entire step by hardcoding the same JSON in my Code By Zap test and it neatly picks up each JSON Object and sends an email as I expect to.

This is my code test in Zap:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/1/e16a5797926f76066ac92167d9b599412b09dcd0.png)

This is my Email step in Zap:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/9/c98a78b46bff15bcc7c5cbaad7185e316f50c770.png)

---

_[View the full topic](https://community.glideapps.com/t/difficulty-sending-personalized-email-with-information-split-in-two-tables-that-do-not-have-all-common-points/70947)._
