-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom processing script for integration webhooks #2432
Conversation
LGTM |
1 similar comment
LGTM |
Custom processing script for integration webhooks
Hey, how to use this filed to transform incoming data. |
I am trying to figure that out as well :D maybe someone could point us to the right direction
|
I am not familiar with the vm module, for incoming web-hook, maybe write something like this ?:
|
Im actually using the Gitlab to integrate with, but gitlab will send event names as request header with the name |
Thank you for your kind reply, i am quite litterally on the struggle bus when it comes to read out the incoming debug log looks like this
|
@pavankumarkatakam try headers["X-Gitlab-Event"] ? |
@bott0r line please refer this Scripting a Node.js App |
I have no idea what i should be doing and the line you quoted is of course completely wrong :D |
Hey folks, I created a tutorial to use scripting to integrate with GitHub https://github.com/RocketChat/Rocket.Chat/wiki/WebHook-Scripting---GitHub If you create new integrations can you share with us? |
with my limited background (physicist) i doubt i can share anything anytime soon :( @rodrigok Would you mind inserting the RAW payload that arrives from github so that your script works. The example you provided is excellent, programming is just not my forte. |
Closes #2426