unclecheese
  1. mutation {
  2. createComment(Input: { Comment: "foo", Email: "<mailto:[email protected]|[email protected]>", BlogEntryID: 5 }) {
  3. isSpam
  4. successMessage
  5. }
  6. }
wmk

ok. Render Form UI and send to REST instead?

unclecheese

Creating mutations and input types for forms is still a todo

unclecheese

The graphql form stuff will render the form UI, but it won’t yet handle the form for you.

wmk

So we could forward it to the SilverStripe blog module

wmk

Seen a youtube video on netlify forms, those can forward the form data to a POST API

unclecheese

I wouldn’t be surprised if you can pipe zapier through akismet, too.

unclecheese

An easy option is to just use netlify forms. If you just put data-netlify on your form tag, the submissions will automatically go to netlify. From there you can integrate with zapier, which can just call a webhook you have set up on SS.