• Rafi Hoq 4
  • NEWBIE
  • 10 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
I'm sending the request from Twilio, and all of the other fields work other than MailingPostalCode. Any ideas?

       let contact= {
                           FirstName: event.FirstName,
                            LastName: event.LastName,
                            MailingPostalCode: event.ZipCode,
                            npe01__HomeEmail__c: event.Email,
                            npe01__Preferred_Email__c: 'Personal',
                        };
I'm querying for my message's body text. Example - 'Hi my name '+testName+' how are you' 

That string is a text field on the message object. What do I need to do in the code to make those variables work? This string needs to be queried from the object, not hardcoded in the code.

 
I'm sending the request from Twilio, and all of the other fields work other than MailingPostalCode. Any ideas?

       let contact= {
                           FirstName: event.FirstName,
                            LastName: event.LastName,
                            MailingPostalCode: event.ZipCode,
                            npe01__HomeEmail__c: event.Email,
                            npe01__Preferred_Email__c: 'Personal',
                        };