Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with Dynamic Email Input in HTTP Request Node Failing with “No Execution Data Available #12820

Open
sylvioavilla1 opened this issue Jan 23, 2025 · 2 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@sylvioavilla1
Copy link

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:

{
  "errorMessage": "No execution data available",
  "errorDetails": {},
  "n8nDetails": {
    "itemIndex": 0,
    "runIndex": 0,
    "parameter": "parametersBody.values",
    "time": "23/01/2025, 17:06:56",
    "n8nVersion": "1.74.3 (Cloud)",
    "binaryDataMode": "filesystem",
    "cause": [
      {
        "name": "Type",
        "valueProvider": "fieldValue",
        "value": "purchase_info"
      },
      {
        "name": "user_email",
        "valueProvider": "fieldValue",
        "value": "={{ $fromAI(\"email\", \"ask for the user email\") }}"
      }
    ]
  }
}

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

@Joffcom
Copy link
Member

Joffcom commented Jan 23, 2025

Hey @sylvioavilla1,

We have created an internal ticket to look into this which we will be tracking as "N8N-8220"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Jan 23, 2025
@sylvioavilla1
Copy link
Author

sylvioavilla1 commented Jan 23, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants