You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to dynamically pass an email value in an HTTP Request node using the following expression in the body parameters:
={{ $fromAI("email", "ask for the user email") }}
The goal is for the flow to request the email dynamically (e.g., using AI or another method) and then send it in the user_email field to my Bubble API. However, whenever I use this expression, I get the following error:
However, if I replace the user_email value with a static email (e.g., [email protected]), the flow works perfectly.
Here’s a quick breakdown of my setup:
Node: HTTP Request (POST Method)
API: Bubble.io endpoint
Headers: Authorization (Bearer token)
Body Parameters:
Type → Static value: purchase_info
user_email → Dynamic value: ={{ $fromAI("email", "ask for the user email") }}
I suspect the problem is that {{ $fromAI(...) }} is not resolving properly, but I’m not sure how to dynamically collect and inject the email value into the body.
I’ve tried:
Using the expression as is
Testing with a static email (works perfectly)
Checking execution data logs, which suggest the user_email value is unavailable.
Any ideas on how to properly collect the email dynamically or resolve this issue? Should I use a Set or Code node, or is there a better way to make this work with AI-like inputs?
Thank you in advance for your help!
Information on your n8n setup
**n8n version: 1.76.1 (Latest Beta)
**Database (default: SQLite):default
**n8n EXECUTIONS_PROCESS setting (default: own, main):default
**Running n8n via (Docker, npm, n8n cloud, desktop app):cloud
**Operating system:windows
The text was updated successfully, but these errors were encountered:
Hi everyone,
I’m trying to dynamically pass an email value in an HTTP Request node using the following expression in the body parameters:
={{ $fromAI("email", "ask for the user email") }}
The goal is for the flow to request the email dynamically (e.g., using AI or another method) and then send it in the user_email field to my Bubble API. However, whenever I use this expression, I get the following error:
However, if I replace the user_email value with a static email (e.g., [email protected]), the flow works perfectly.
Here’s a quick breakdown of my setup:
Node: HTTP Request (POST Method)
API: Bubble.io endpoint
Headers: Authorization (Bearer token)
Body Parameters:
Type → Static value: purchase_info
user_email → Dynamic value: ={{ $fromAI("email", "ask for the user email") }}
I suspect the problem is that {{ $fromAI(...) }} is not resolving properly, but I’m not sure how to dynamically collect and inject the email value into the body.
I’ve tried:
Using the expression as is
Testing with a static email (works perfectly)
Checking execution data logs, which suggest the user_email value is unavailable.
Any ideas on how to properly collect the email dynamically or resolve this issue? Should I use a Set or Code node, or is there a better way to make this work with AI-like inputs?
Thank you in advance for your help!
Information on your n8n setup
**n8n version: 1.76.1 (Latest Beta)
**Database (default: SQLite):default
**n8n EXECUTIONS_PROCESS setting (default: own, main):default
**Running n8n via (Docker, npm, n8n cloud, desktop app):cloud
**Operating system:windows
The text was updated successfully, but these errors were encountered: