feat[webhook]: added generic webhook#130
Merged
waleedlatif1 merged 3 commits intomainfrom Mar 21, 2025
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
RadoBoiii
pushed a commit
to RadoBoiii/sim-fork
that referenced
this pull request
Apr 13, 2025
* added logic to support generic webhooks * fixed style of generic webhook * fixed style of generic webhook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added support for generic webhooks.
Fixes #112
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
I configured a generic webhook, and ran the test to confirm it worked. Then, I took the cURL that it generated and ran it in my terminal and I was able to trigger my workflow.
Checklist:
Security Considerations:
Additional Information:
Could use some styling updates on the webhook modal, since the modal contains all the instructions and logic for the whatsapp webhook and the general one too. The styling is consistent across the differnet webhook providers but could be more consistent, and we will need toseparate out this code into smaller functions considering we will have many more webhook integrations in the future.