Replies: 1 comment
-
You have to use correct "user_id" value |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a contact form on my site that sends the payload data to a CDP (Customer Data Platform). The CDP then transforms this data with a transformation built with JS and sends the output payload to EmailJS via a webhook destination (Header = content-type:application/json). I have a few questions regarding this integration:
Currently, the payload I am using is as follows:
{
"service_id": "service_1234567",
"template_id": "template_1234567",
"user_id": "12345_98765431",
"formData": {
"accountType": "company",
"companyName": "CompanyName",
"email": "test@email.com",
"first_name": "First",
"last_name": "Last",
"userMessage": "This is a sample message",
"timestamp": "Friday, Jul 5, 2024, 9:10:33 PM",
"page": "http://localhost:3000",
"path": "/"
}
}
Could anyone provide insight into any necessary changes?
Note that when I send this payload to EmailJS from the CDP/Postman, I receive a 400 error along with a recurring 504 error, but I have verified that the service, template, and user IDs are correct.
Any help would be greatly appreciated.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions