Overview
This node integrates with the MyFitnessPal API to retrieve exercise information for a specific date. It is useful for users who want to track their physical activity logged in MyFitnessPal, enabling automation workflows that analyze or report on daily exercise data.
A practical example would be automatically fetching your exercise summary each day to log it into another fitness tracking system or to generate personalized health reports.
Properties
| Name | Meaning |
|---|---|
| Date | The date for which to retrieve exercise entries. Must be provided in the format YYYY-MM-DD. |
Output
The node outputs an array of JSON objects representing the exercise data retrieved from MyFitnessPal for the specified date. Each object contains detailed exercise information as returned by the MyFitnessPal API's /exercise endpoint for that date.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the MyFitnessPal API using an API key credential.
- The node uses the
myFitnessPalApiauthentication method configured in n8n credentials. - Network access to
https://api.myfitnesspal.comis necessary.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Providing an incorrectly formatted date may result in no data or errors.
- Network connectivity problems can prevent successful API calls.
Error messages:
- Errors returned from the API (e.g., unauthorized, bad request) will be surfaced in the node’s output if "Continue On Fail" is enabled.
- If the node throws an error and stops execution, verify API credentials and input parameters.
Links and References
- MyFitnessPal API Documentation (official API docs, if publicly available)
- n8n Documentation for configuring API credentials and using HTTP Request nodes