1. Go to this page and download the library: Download survos/grist-bundle library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
survos / grist-bundle example snippets
$webhooks->upsert(new WebhookBlueprint(
application: 'pgsc',
table: 'Obras',
name: 'pgsc-enrich',
url: 'https://chijal.org/grist/obra/enrich',
eventTypes: ['update'],
watchedColIds: ['YoutubeUrl', 'Photo'], // human-edited columns ONLY
isReadyColumn: 'Ready', // half-filled rows never fire
));