You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Zappier I could set up only trigger that on any change it notifies me. But I want to configure on specific events or tasks.
We do have a trigger update record in zapier, but it returns all record field, so it is not possible to get what fields were updated
We need to find a way to send updatedFields info, probably by adding a field updatedFields in data in packages/twenty-server/src/engine/api/graphql/workspace-query-runner/jobs/call-webhook-jobs.job.ts based on args provided in the query in packages/twenty-server/src/engine/api/graphql/workspace-query-runner/workspace-query-runner.service.ts
Then we should update what Zaps gets from webhooks data, today it get the data.record key which contains all the record -> see here packages/twenty-zapier/src/utils/triggers/triggers.utils.ts
The text was updated successfully, but these errors were encountered:
Adjust trigger_record.ts to use the modified perform function:
Ensure the trigger uses the updated perform function from triggers.utils.ts.
import{perform}from'./triggers.utils';exportdefault{key: 'record_updated',noun: 'Record',display: {label: 'Record Updated',description: 'Triggers when a record is updated.'},operation: {
perform,// other properties}};
About Greptile
This response provides a starting point for your research, not a precise solution.
Help us improve! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
User voice
We do have a trigger update record in zapier, but it returns all record field, so it is not possible to get what fields were updated
We need to find a way to send updatedFields info, probably by adding a field
updatedFields
in data inpackages/twenty-server/src/engine/api/graphql/workspace-query-runner/jobs/call-webhook-jobs.job.ts
based on args provided in the query inpackages/twenty-server/src/engine/api/graphql/workspace-query-runner/workspace-query-runner.service.ts
Then we should update what Zaps gets from webhooks data, today it get the
data.record
key which contains all the record -> see herepackages/twenty-zapier/src/utils/triggers/triggers.utils.ts
The text was updated successfully, but these errors were encountered: