Actions22
- Chat Actions
- Channel Actions
- Message Actions
- Contact Actions
- OTP Code Actions
- OTP Link Actions
Overview
This node allows sending an image message to a specified contact via the CrunchzApp API. It is useful in scenarios where you want to automate sharing images with contacts, such as sending product photos, event invitations, or visual updates directly through messaging.
For example, you can use this node to send a promotional image with an optional caption to a customer’s chat identified by their contact ID.
Properties
| Name | Meaning |
|---|---|
| Contact Id | The unique identifier of the contact to whom the image will be sent (format: xxx@c.us). |
| Caption | Optional text caption that accompanies the image message. |
| File | JSON object describing the image file to send, including: |
- mimeType: MIME type of the image (e.g., "image/png"). |
|
- filename: Name of the image file (e.g., "image.png"). |
|
- url: Publicly accessible URL where the image is hosted. |
Output
The node outputs JSON data representing the response from the CrunchzApp API after attempting to send the image message. This typically includes status information about the message delivery.
No binary data output is produced by this node.
Dependencies
- Requires an active CrunchzApp API key credential configured in n8n.
- Relies on internet access to fetch the image from the provided URL.
- Uses the CrunchzApp REST API endpoint at
https://api.crunchz.app/api.
Troubleshooting
- Invalid Contact Id: If the contact ID format is incorrect or the contact does not exist, the API may return an error. Verify the contact ID matches the expected pattern (xxx@c.us).
- Image URL Issues: The image URL must be publicly accessible. Private URLs or URLs requiring authentication will cause failures.
- API Authentication Errors: Ensure the CrunchzApp API key credential is correctly set up and has necessary permissions.
- Caption Length: Some APIs limit caption length; if errors occur, try shortening the caption.
- Network Issues: Connectivity problems can prevent the image from being sent. Check network access and retry.
Links and References
- CrunchzApp API Documentation (for detailed API usage and message formats)
- n8n Documentation on Creating Custom Nodes