Actions116
- 💬 Chats Actions
- 👤 Contacts Actions
- 👥 Groups Actions
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Add Participants
- Remove Participants
- Promote To Admin
- Demote To Admin
- Create Group
- Get Groups
- Join Info Group
- Join Group
- Refresh Groups
- Get Group
- Delete Group
- Leave Group
- Get Chat Picture
- Set Picture
- Delete Picture
- Set Description
- Set Subject
- Set Info Admin Only
- 🖥️ Sessions Actions
- 🆔 Profile Actions
- 🖼️ Screenshot Actions
- 📤 Chatting Actions
- 📢 Channels Actions
- 🟢 Status Actions
- ✅ Presence Actions
- 🏷️ Labels Actions
- 🔍 Observability Actions
- 🔑 Auth Actions
Overview
This node operation sends a link preview message in a chat session. It is useful for scenarios where you want to share a clickable link with a title in a chat conversation, such as sharing articles, product links, or any web URLs with a preview. For example, it can be used in customer support chatbots to send helpful links or in social media automation to share content previews.
Use Case Examples
- Sending a link preview to a customer in a support chat session.
- Sharing a news article link with a title in a group chat automatically.
Properties
| Name | Meaning |
|---|---|
| Session | The chat session identifier where the link preview will be sent. |
| Chat Id | The identifier of the chat to which the link preview message will be sent. |
| Url | The URL of the link to be previewed and sent in the chat. |
| Title | The title text to display with the link preview. |
| Request Options | Additional options for the request such as batching, SSL certificate handling, proxy settings, and timeout configuration. |
Output
JSON
sentMessageId- The identifier of the sent link preview message.status- The status of the send operation, e.g., success or failure.
Dependencies
- Requires an API key or authentication token to connect to the chat service.
Troubleshooting
- Ensure the session and chatId values are correct and active; invalid IDs will cause failures.
- Check network connectivity and proxy settings if requests time out or fail.
- If SSL errors occur, consider enabling the 'Ignore SSL Issues' option cautiously.
- Batching settings should be adjusted based on API rate limits to avoid throttling errors.
Links
- n8n Custom Nodes Documentation - General guide on creating and using custom nodes in n8n.