Node Red - Notify blank text?

Hi there,

Trying to use node red to parse an alexa shopping list to send notification on location.

Have the location and grabbing the list part working, but for some reason it sends blank notification rather than the payload ?

[{"id":"2d80d274c16aad28","type":"alexa-remote-list","z":"fbc269aeb54e868f","name":"Get Shopping List","account":"47d1a2e4eb7dedaf","config":{"option":"getListItems","value":{"list":{"type":"str","value":"YW16bjEuYWNjb3VudC5BRUxaQ1cyTEJGSk5FSzVHSlRPSkc1R09BSVFBLVNIT1BQSU5HX0lURU0="}}},"x":470,"y":300,"wires":[["b8bee3d73322cc21"]]},{"id":"0b0b531bd01a37f5","type":"inject","z":"fbc269aeb54e868f","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":260,"y":300,"wires":[["2d80d274c16aad28"]]},{"id":"d0207f518a863400","type":"api-call-service","z":"fbc269aeb54e868f","name":"Mark","server":"c525665.4e02f98","version":3,"debugenabled":false,"service_domain":"notify","service":"mobile_app_sm_f926b","entityId":"","data":"{\"message\": \"{{msg.payload}}\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":300,"wires":[[]]},{"id":"b8bee3d73322cc21","type":"template","z":"fbc269aeb54e868f","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{{#payload}}\n{{value}}\n{{/payload}}","output":"str","x":660,"y":300,"wires":[["d0207f518a863400","0b23800e841dbf45"]]},{"id":"0b23800e841dbf45","type":"debug","z":"fbc269aeb54e868f","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":840,"y":400,"wires":[]},{"id":"47d1a2e4eb7dedaf","type":"alexa-remote-account","name":"Mark Taylor","authMethod":"proxy","proxyOwnIp":"192.168.10.2","proxyPort":"3456","cookieFile":"","refreshInterval":"3","alexaServiceHost":"alexa.amazon.co.uk","amazonPage":"amazon.co.uk","acceptLanguage":"en-UK","userAgent":"","useWsMqtt":"on","autoInit":"on"},{"id":"c525665.4e02f98","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]

image

I don’t have alexa, but what does the shopping list output in a debug node set to complete message?

The shopping list outputs as array objects, hence the template node to grab the values wanted from the array, and then put in the string list, you see in the msg.payload output pic

solved this by changing data type to J expression and removing moustache tags and just having “message: payload”