Here’s AI generated script:
const fibery = context.getService('fibery');
const http = context.getService('http');
// Prepare payload with current entities' Id, Name and type
const payload = args.currentEntities.map(e => ({
Id: e.Id,
Name: e.Name,
type: e.type
}));
await http.postAsync('https://apps.www/webhook/www-5dc2-460a-8f05-259a7b14ab8d/webhook', {
body: payload,
headers: { 'Content-Type': 'application/json' }
});
return `Webhook invoked for ${payload.length} entity(ies)`;
Webhook in n8n exists and is listening. But Fibery generates 404 error. Why?
