Actions132
- AI Actions
- Extract Text From Document
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Extract Entities
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate JavaScript Code
- Generate Python Code
- Detect Language
- Detect Mood
- Extract Text From PDF
- Recognize Objects in Image
- Extract Text From Image
- Redact Sensitive Information From PDF
- Remove Background Image
- Summarize Text
- Transcribe
- Translate Text
- Image Actions
- Business Actions
- Convert Actions
- Generate Actions
- Crypto Actions
- Operator Actions
- Storage Actions
- Scheduler Actions
- Text Actions
- Chart Actions
- Code Actions
- Calculate Actions
- Date and Time Actions
- PDF Actions
- Compress PDF File
- Count PDF Pages
- Create Empty PDF
- Decrypt PDF
- Convert DOCX to PDF
- Draw Image on PDF
- Draw Text on PDF
- Encrypt PDF
- Convert HTML to PDF
- Convert Markdown to PDF
- Manage PDF Metadata
- Merge PDF Files
- Add PDF Pages
- Remove PDF Pages
- Resize PDF Pages
- Rotate PDF Pages
- Convert PDF to Base64
- Convert PDF to Image
- Split PDF File
- Add Image Watermark to PDF
- Add Text Watermark to PDF
- Shortened URL Actions
Calculate → Calculate BMI
AI-generatedOverview
The node provides a utility to calculate the Body Mass Index (BMI) based on user-provided height and weight values. This is useful in health, fitness, or wellness workflows where BMI is used as an indicator of body fat and general health status. For example, it can be integrated into a health app workflow to automatically compute BMI from user inputs or data records.
Properties
| Name | Meaning |
|---|---|
| Height (Cm) | The height of the person in centimeters. Example: 175 |
| Weight (Kg) | The weight of the person in kilograms. Example: 70 |
Output
The output JSON contains the result of the BMI calculation. Typically, this would include the calculated BMI value based on the formula:
BMI = weight (kg) / (height (m))^2
where height in centimeters is converted to meters before calculation.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authentication with the external service at
https://prod.0codekit.com. - The node sends a POST request to the endpoint
/calculate/bmiwith the height and weight parameters in the request body. - Proper configuration of the API key credential in n8n is necessary for successful execution.
Troubleshooting
Common issues:
- Missing or invalid API key credential will cause authentication failures.
- Providing zero or negative values for height or weight may lead to incorrect or error responses.
- Network connectivity issues can prevent reaching the external API endpoint.
Error messages:
- Authentication errors typically indicate missing or invalid API credentials.
- Validation errors may occur if required parameters are missing or out of expected range.
Resolutions:
- Ensure the API key credential is correctly set up and active.
- Validate input values before execution to ensure they are positive numbers.
- Check network connectivity and endpoint availability.
Links and References
- No direct links provided in the source code.
- For more information about BMI calculation, see: WHO BMI Classification