I need to update sales cloud and a data extension whenever a customer replied UNSUB to the sms that we send using Marketing Cloud.
This is how I get the response
IF Uppercase([MSG(0).NOUN(0)]) == "UNSUB" THEN //Update DE //Update Sales Cloud ENDIF
BUt I can't seem to make it work.
I also tried this
Set @inbound = [MSG(0).NOUN(0)] IF UpperCase(@inbound) == "UNSUB" THEN //update sales cloud //update de ENDIF
But upon doing a subscriber preview I get a "An Unrecognized expression appears in a script block"
I already tested the script block in cloud pages for updating sales cloud and de and it's working so I guess it's not the issue orrrrrr you can't update both sales cloud and de in one transaction in regards to response sms.
Am I Missing something? any tip or suggestion will do. Thanks