Actions4
- Message Actions
- Label Actions
Message → Send File
AI-generatedOverview
The node sends a file message via the Lead2Chat platform. It is useful for automating the sending of files such as PDFs, images, or other documents to a specified recipient's phone number or JID through a configured team and phone number within Lead2Chat. For example, it can be used to send invoices, reports, or promotional materials directly to customers' WhatsApp or other messaging services supported by Lead2Chat.
Use Case Examples
- Send a PDF invoice to a customer's WhatsApp number.
- Send a promotional flyer to a list of clients via Lead2Chat.
Properties
| Name | Meaning |
|---|---|
| Authentication | Selects the authentication method to use, currently only 'Integration' is supported. |
| Dein Team | Select the Lead2Chat team to send the file from, either by choosing from a list or entering the team ID manually. |
| Deine Telefonnummer | Select the phone number to send the file from, either by choosing from a list of sessions or entering the phone number manually. |
| Empfänger Telefonnummer | The recipient's phone number or JID to which the file message will be sent. Supports input as a phone number or JID. |
| Datei URL | The URL of the file to be sent. This must be a valid URL pointing to the file resource. |
| Nachricht | An optional text message to accompany the file being sent. |
Output
JSON
messageId- The unique identifier of the sent message.status- The status of the file sending operation, e.g., success or failure.timestamp- The timestamp when the message was sent.
Dependencies
- Lead2Chat API integration
Troubleshooting
- Ensure the team ID and phone numbers are valid and correctly formatted according to the regex validations.
- Verify that the file URL is accessible and points to a valid file resource.
- Check that the authentication method is correctly configured and the integration credentials are valid.
- Common error messages may include invalid phone number format, unauthorized access due to authentication failure, or file URL not reachable. Resolving these involves correcting the input formats, updating credentials, or ensuring network access to the file URL.