Commit Graph

56 Commits

Author SHA1 Message Date
Eric Allam 057a13b52c Slack integration improvements
- Add ability to trigger workflows on block actions
- Add reactions
- Add ability to respond to a block action interaction
2023-01-27 15:55:55 +00:00
Matt Aitken 543589ae32 Merge remote-tracking branch 'origin/dev' into integrations/slack-blocks 2023-01-26 14:41:11 -08:00
Eric Allam 58a946547c Fixed issue with github webhook events 2023-01-26 10:49:54 +00:00
Matt Aitken 33128bc124 Move Slack requests to a separate file 2023-01-25 12:23:20 -08:00
Eric Allam ddf42558aa Add support for webhookEvent, a manual webhook trigger 2023-01-25 15:32:52 +00:00
Matt Aitken e607281b1b Pass Zod issues back from HTTPService, so they can be displayed 2023-01-24 23:27:56 -08:00
Matt Aitken 2ab9b5f97b Build the service request objects ahead of time so we can easily log them if need to 2023-01-24 20:14:02 -08:00
Eric Allam a8f8125a94 Add documentation for Resend.com sendEmail integration 2023-01-24 14:39:31 +00:00
Eric Allam 3b6b8f5964 Use x-github-hook-id for the event id, because x-github-delivery-id is not unique across webhook deliveries 2023-01-24 14:14:02 +00:00
Matt Aitken 46521a3aa8 Deal with Resend errors properly 2023-01-23 22:53:37 -08:00
Matt Aitken 03008054ea Improvements for plain text formatting 2023-01-23 22:33:55 -08:00
Matt Aitken 36480dd850 Email preview in the run 2023-01-23 22:30:17 -08:00
Matt Aitken c41026d34c Emails are now correctly reporting in the webapp 2023-01-23 17:03:43 -08:00
Matt Aitken 5dac88601f Resend is sending html emails successfully 2023-01-23 15:50:03 -08:00
Eric Allam f350fcadbc Github integration - new star webhook implemented 2023-01-21 16:33:52 -08:00
Matt Aitken 92ae9bd894 Added tsconfig paths so we’re not linking to /dist folders anywhere 2023-01-21 13:32:14 -08:00
Matt Aitken 111b0c76a7 Posting to Slack uses either channelId or channelName 2023-01-20 14:09:32 -08:00
Matt Aitken a7d6447074 Auto-parse Slack channel names in message text, doesn’t work for usernames… 2023-01-19 16:46:44 -08:00
Matt Aitken f9eabe3dfb Added GitHub issue commented webhook 2023-01-18 20:11:20 -08:00
Matt Aitken f8cb4926d1 All GitHub issue webhooks now work 2023-01-18 20:11:20 -08:00
Matt Aitken bdd2dc3145 Shopify getProduct function 2023-01-14 20:25:31 -08:00
Matt Aitken 125aafe79a Made providers a public package: @trigger.dev/providers 2023-01-14 15:42:39 +00:00
Matt Aitken cdffc9093d Removed node-fetch from internal-integrations (only called from webapp) 2023-01-13 14:15:37 +00:00
Matt Aitken b65954214f Moving to node 16 2023-01-12 13:22:06 +00:00
Matt Aitken 8dc3ace6c1 Add node-fetch 2023-01-12 12:15:08 +00:00
Matt Aitken 811cf807d0 Shopify: can update product 2023-01-12 11:19:57 +00:00
Matt Aitken b985ae09a9 Shopify: add products to a collection 2023-01-12 10:59:34 +00:00
Matt Aitken d5c529a318 Shopify: list locations 2023-01-11 17:46:56 +00:00
Matt Aitken 4b1547a160 Filtering collections working 2023-01-11 17:35:52 +00:00
Matt Aitken 1cd294dd31 Shopify: List collections 2023-01-11 17:31:02 +00:00
Matt Aitken 2b3540d861 Appending images to a product is working 2023-01-11 17:02:31 +00:00
Matt Aitken 43bb689e5c Creating a product with lots of fields is working 2023-01-11 15:30:06 +00:00
Matt Aitken b2d4aaddc6 Shopify: creating products is working 2023-01-11 13:41:28 +00:00
Matt Aitken 767acd1298 Creating variants is working, with options 2023-01-11 11:11:51 +00:00
Matt Aitken 34fcb8257e Variant filtering by productId required some special code 2023-01-11 11:11:51 +00:00
Matt Aitken 8b5cdd5a37 Creating a variant is partially working, produces an error which there’s a new state for 2023-01-10 19:18:36 +00:00
Matt Aitken 7e28008dd1 Separated the GraphQL query out, and removed a parsing step 2023-01-10 16:29:39 +00:00
Matt Aitken 5bbdc50d2b Filtering by sku is working 2023-01-10 15:41:04 +00:00
Matt Aitken cd65d20015 Shopidy product variants can now be queried 2023-01-10 15:13:03 +00:00
Matt Aitken 867b2bbd4c Shopify GraphQL queries are working 2023-01-10 11:15:22 +00:00
Matt Aitken 120601a3e5 Shopify WIP 2023-01-10 11:15:22 +00:00
Matt Aitken 93a2befd61 Fix for AccessInfo and webhooks 2023-01-10 09:43:16 +00:00
Matt Aitken 2cca67cfa5 NormalizedResponse and IntegrationResponse now have output and context, instead of headers/status/body 2023-01-09 20:22:57 +00:00
Matt Aitken 8d0bac836f Don’t just get the accessToken, get the additional fields as well 2023-01-09 16:01:37 +00:00
Matt Aitken 8aee590ab4 internal-providers has the schemas for integrations 2023-01-09 14:28:35 +00:00
Matt Aitken af326df070 internal-providers package now uses a JavaScript object instead of YML 2023-01-09 12:48:00 +00:00
Matt Aitken f9431545bc Better version of workflow list 2023-01-06 18:21:36 +00:00
Eric Allam a48cff7bbe Include utf-8 charset in Content-Type header 2023-01-02 13:41:11 +00:00
Eric Allam 8967d5e216 “Resolve” is a better word for that message, and postMessage response schema is always success 2023-01-02 11:50:15 +00:00
Eric Allam 8908d44206 Getting slack/chat.postMessage to work
- Added ability for integrations to cache values
- Integrations now determine if a request is retryable
- Retried requests are now scheduled with a delay
2022-12-30 15:58:43 +00:00