So I'm trying to execute a Lambda function based on the value of a contact attribute (checked by a Check Contact Attributes clock) that I set on the previous contact flow. My question is, are the contact attributes local to the contact flow or can they be referenced from the next contact flow? Right now it's not working for me, when I check the contact attribute value it never matches with the value that is supposed to have been set (I check this after setting it in the previous contact flow).
Also getting this from the Lambda function that is checking the value (existingCase is the name of the Contact Attribute):
'existingCase': KeyError Traceback (most recent call last): File "/var/task/lambda_function.py", line 11, in lambda_handler print("Is it existing case " + event["Details"]["ContactData"]["Attributes"]["existingCase"]) KeyError: 'existingCase'
Thanks!