Actions9
- Upload Actions
- Status & History Actions
- User Actions
Overview
This node integrates with the Upload-Post API to manage social media content and user profiles. Specifically for the User resource and the Validate JWT (for Platform Integration) operation, it validates a JSON Web Token (JWT) issued by the Upload-Post platform. This is useful when you have a custom backend or platform integration that needs to verify the authenticity and validity of connection tokens before allowing further actions.
Typical use cases include:
- Verifying a user's authentication token received from your backend before proceeding with social media operations.
- Ensuring secure platform integration by validating JWTs issued for connecting user profiles.
- Custom workflows where token validation is required as a gatekeeper step.
Properties
| Name | Meaning |
|---|---|
| JWT | The JSON Web Token string to validate. This is a required, password-type input to securely provide the JWT for validation. |
Output
The node outputs a JSON object representing the response from the Upload-Post API's JWT validation endpoint. This typically includes fields indicating whether the JWT is valid, any associated user information, expiration details, and error messages if invalid.
Example output structure (fields may vary):
{
"success": true,
"user": {
"username": "exampleUser",
"platforms": ["facebook", "instagram"]
},
"expires_at": "2024-12-31T23:59:59Z",
"message": "JWT is valid"
}
No binary data output is produced by this operation.
Dependencies
- Requires an active API key credential for the Upload-Post API configured in n8n.
- The node makes HTTPS requests to
https://api.upload-post.com/api/users/validate-jwt. - No additional external dependencies beyond the Upload-Post API and n8n's HTTP request helper.
Troubleshooting
- Invalid JWT Error: If the JWT provided is expired, malformed, or revoked, the API will respond with an error message indicating invalidity. Ensure the JWT is correctly generated and not expired.
- Missing or Incorrect API Key: The node requires a valid API key credential for authorization. Verify that the API key is set up correctly in n8n credentials.
- Network Issues: Connectivity problems to the Upload-Post API endpoint can cause request failures. Check network access and firewall settings.
- Incorrect Property Usage: Make sure the JWT property is populated with the correct token string and marked as required.
Links and References
- Upload-Post API Documentation
- JSON Web Tokens (JWT) Introduction
- n8n HTTP Request Node Documentation (for understanding underlying request mechanics)