Knowledge base

1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!

Send a message on kChat from n8n

This guide explains how to configure an action on n8n to send a message to kChat when the conditions are met.

 

Prerequisites

 

Create the action on n8n

In your n8n session:

  1. Click to start from scratch:
  2. Click to add a first action.
  3. Choose a manual trigger:
  4. Click to add an action to trigger.
  5. Search for and activate an action of type “HTTP Request”:
  6. Choose the POST method.
  7. Enter the URL of your kChat webhook.
  8. Authentication is not required (already applied in the URL).
  9. Activate the “Send body” toggle switch to specify content:
  10. In the “Name” field, enter the exact term “text” as expected by kChat.
  11. In the “Value” field, enter the information you want to display on kChat.
  12. Click the button to test and apply your manual command:
  13. The message specified on n8n then appears on kChat:

Now that this base works, you might imagine replacing the fixed text with data from elsewhere. For example, add an “Imap” or “RSS Feed” node before the HTTP Request node. Thus, instead of writing the text by hand, click on the small gear next to Value > Expression to say: “Send to kChat the title of the last received email”…


Has this FAQ been helpful?