Description
Hello everyone.
I have an Outgoing webhook, that triggered on SendMessage in all_public_channels.
But when I send a message, nothing happens.
In the logs you can see, that rocket chat cannot determine room ID:
{"level":20,"time":"2024-09-16T09:52:08.903Z","pid":3696,"hostname":"rocket-chat","name":"Integrations","section":"Outgoing WebHook","msg":"Starting search for triggers for the room: undefined"}
What can I do about it?
Server Setup Information
- Version of Rocket.Chat Server: 6.12.0
- Operating System: ubuntu 22.04.2
- Deployment Method: snap
- Number of Running Instances: 1
- Proxy: nginx
- Firewalls involved: ufw
Any additional Information
{"level":20,"time":"2024-09-16T09:52:08.903Z","pid":3696,"hostname":"rocket-chat","name":"Integrations","section":"Outgoing WebHook","msg":"Execute Trigger:","arg":"sendMessage"}
{"level":20,"time":"2024-09-16T09:52:08.903Z","pid":3696,"hostname":"rocket-chat","name":"Integrations","section":"Outgoing WebHook","msg":"Got the event arguments for the event: sendMessage","argObject":{"event":"sendMessage","message":{"_id":"eQYcQHmhGeqXvoqsd","rid":"64932124c6ad88defc820a60","msg":"dfgdfgzdfgzdfgzdfgz","ts":"2024-09-16T09:52:08.676Z","u":{"_id":"2E4LNngKkFmFtFvK6","username":"inbsp","name":"Sergey Puzyrev"},"_updatedAt":"2024-09-16T09:52:08.699Z","urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"dfgdfgzdfgzdfgzdfgz"}]}]},"room":{"room":{"_id":"64932124c6ad88defc820a60","fname":"Sergey_Puzyrev","_updatedAt":"2024-09-16T09:51:43.392Z","customFields":{},"name":"Sergey_Puzyrev","t":"c","msgs":125,"usersCount":4,"u":{"_id":"d9XoyvF8hZRoGsSKr","username":"n8n.importer","name":"n8n.importer"},"ts":"2023-06-21T16:11:16.935Z","ro":false,"default":false,"sysMes":true,"lastMessage":{"_id":"A77zfa84xqDEConSs","rid":"64932124c6ad88defc820a60","msg":"dsadsaadsadsads","ts":"2024-09-16T09:51:43.167Z","u":{"_id":"2E4LNngKkFmFtFvK6","username":"inbsp","name":"Sergey Puzyrev"},"_updatedAt":"2024-09-16T09:51:43.190Z","urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"dsadsaadsadsads"}]}]},"lm":"2024-09-16T09:51:43.167Z"},"roomUpdater":{"dirty":false,"_inc":{},"_set":{}}}}}
{"level":20,"time":"2024-09-16T09:52:08.903Z","pid":3696,"hostname":"rocket-chat","name":"Integrations","section":"Outgoing WebHook","msg":"Starting search for triggers for the room: undefined"}
{"level":20,"time":"2024-09-16T09:52:08.903Z","pid":3696,"hostname":"rocket-chat","name":"Integrations","section":"Outgoing WebHook","msg":"Found 0 to iterate over and see if the match the event."}