Describe the problem/error/question
WhatsApp Node is not downloading media from audio_id even though the expression is correct. Crazy thing is that, when I put the fixed data, it does download, but not when I put it on expression. I already made sure im draggin the id from the correct section and still is not working out for me (ILL REPLY WITH PHOTOS)
What is the error message (if any)?
cant get data from expression
Please share your workflow
{
ânodesâ: [
{
âparametersâ: {
âupdatesâ: [
âmessagesâ
]
},
âtypeâ: ân8n-nodes-base.whatsAppTriggerâ,
âtypeVersionâ: 1,
âpositionâ: [
0,
0
],
âidâ: â1dad6e3e-0294-48ce-8043-a7231c0858a4â,
ânameâ: âWhatsApp Triggerâ,
âwebhookIdâ: â1cf00990-0652-4987-9316-708f913bd072â,
âcredentialsâ: {
âwhatsAppTriggerApiâ: {
âidâ: âf3awQybGpnEsKjM7â,
ânameâ: âWhatsApp OAuth accountâ
}
}
},
{
âparametersâ: {
ârulesâ: {
âvaluesâ: [
{
âconditionsâ: {
âoptionsâ: {
âcaseSensitiveâ: true,
âleftValueâ: ââ,
âtypeValidationâ: âstrictâ,
âversionâ: 2
},
âconditionsâ: [
{
âleftValueâ: â={{ $json.messages[0].type }}â,
ârightValueâ: âaudioâ,
âoperatorâ: {
âtypeâ: âstringâ,
âoperationâ: âequalsâ
},
âidâ: â24799e6a-89c5-479a-aaf3-41bb31b4e449â
}
],
âcombinatorâ: âandâ
},
ârenameOutputâ: true,
âoutputKeyâ: âAudioâ
},
{
âconditionsâ: {
âoptionsâ: {
âcaseSensitiveâ: true,
âleftValueâ: ââ,
âtypeValidationâ: âstrictâ,
âversionâ: 2
},
âconditionsâ: [
{
âidâ: â43dc2f35-5f88-4aea-bedd-09da45e053e8â,
âleftValueâ: â={{ $json.messages[0].type }}â,
ârightValueâ: âtextâ,
âoperatorâ: {
âtypeâ: âstringâ,
âoperationâ: âequalsâ,
ânameâ: âfilter.operator.equalsâ
}
}
],
âcombinatorâ: âandâ
},
ârenameOutputâ: true,
âoutputKeyâ: âTextâ
},
{
âconditionsâ: {
âoptionsâ: {
âcaseSensitiveâ: true,
âleftValueâ: ââ,
âtypeValidationâ: âstrictâ,
âversionâ: 2
},
âconditionsâ: [
{
âidâ: â614a4fd6-25d8-460f-975e-07668ce330e6â,
âleftValueâ: â={{ $json.messages[0].type }}â,
ârightValueâ: âdocumentâ,
âoperatorâ: {
âtypeâ: âstringâ,
âoperationâ: âequalsâ,
ânameâ: âfilter.operator.equalsâ
}
}
],
âcombinatorâ: âandâ
},
ârenameOutputâ: true,
âoutputKeyâ: âDocumentâ
}
]
},
âoptionsâ: {}
},
âtypeâ: ân8n-nodes-base.switchâ,
âtypeVersionâ: 3.2,
âpositionâ: [
220,
0
],
âidâ: â7e373bd8-51b4-4946-8298-248945546f6eâ,
ânameâ: âSwitchâ
},
{
âparametersâ: {
âresourceâ: âmediaâ,
âoperationâ: âmediaUrlGetâ,
âmediaGetIdâ: â={{ $(âWhatsApp Triggerâ).item.json.messages[0].audio.id }}â
},
âtypeâ: ân8n-nodes-base.whatsAppâ,
âtypeVersionâ: 1,
âpositionâ: [
440,
-120
],
âidâ: â3cd23f65-dfc8-4639-81d9-3a79a2430b14â,
ânameâ: âWhatsApp Business Cloudâ,
âwebhookIdâ: â88faca0e-0706-4929-9b9c-4fd0cd24affbâ,
âcredentialsâ: {
âwhatsAppApiâ: {
âidâ: âNpPRNVXWlVy0uEBXâ,
ânameâ: âWhatsApp accountâ
}
}
}
],
âconnectionsâ: {
âWhatsApp Triggerâ: {
âmainâ: [
[
{
ânodeâ: âSwitchâ,
âtypeâ: âmainâ,
âindexâ: 0
}
]
]
},
âSwitchâ: {
âmainâ: [
[
{
ânodeâ: âWhatsApp Business Cloudâ,
âtypeâ: âmainâ,
âindexâ: 0
}
]
]
}
},
âpinDataâ: {},
âmetaâ: {
âtemplateCredsSetupCompletedâ: true,
âinstanceIdâ: âd8d48c39d28506b54859343555639e28e1f7455c640ac6e452e273787eb34728â
}
}
Information on your n8n setup
- n8n version: 1.82.3
- Database (default: SQLite): I dont know? i havent used this so should be default
- n8n EXECUTIONS_PROCESS setting (default: own, main): still dont know
must be default too
- Running n8n via (Docker, npm, n8n cloud, desktop app): im using the online version, on the web
- Operating system: Mac Os Monterrey
ILL ADD SCREENSHOTS