pipedream icon indicating copy to clipboard operation
pipedream copied to clipboard

[Components] twenty

Open pipedream-component-development opened this issue 1 year ago • 3 comments

twenty

URLs

  • https://docs.twenty.com/

Webhook Sources

new-record-instant

Prompt

Emit new event when a record is created, updated, or deleted. No required or optional props needed.

URLs

  • https://docs.twenty.com/rest-api/core#/operations/createOneWebhook

Actions

create-update-delete-record

Prompt

Create, update, or delete a single record in Twenty. Required props are 'recordId' for updating or deleting, and 'recordData' for the new or updated record information. An optional prop 'actionType' can specify whether to create, update or delete. The recordId prop is the schemas fields in components of the URL response

URLs

  • https://docs.twenty.com/rest-api/core#/operations/GetOpenApiSchema

Hello everyone, I have tested this PR and there're some test cases failed or needed improvement.

Please check the test report below for more information https://vunguyenhung.notion.site/Components-twenty-8529449ff14c45da9b47a92f78be94ff

vunguyenhung avatar May 12 '24 11:05 vunguyenhung

Hi @vunguyenhung. The fields are created dynamically, so it is very difficult to deal with each case. in terms of Ids, there is no way to know which is which and create the asynchronous function, and in the case of attachments, I removed all props that are of the array type, since they are always some relationship that already exists an endpoint for it. at least to facilitate the release of the first version.

image

luancazarine avatar May 13 '24 14:05 luancazarine

Hi everyone, all test cases are passed! Ready for release!

Test report https://vunguyenhung.notion.site/Components-twenty-8529449ff14c45da9b47a92f78be94ff

vunguyenhung avatar May 13 '24 15:05 vunguyenhung