👂 Feedback needed: scripts in automations that shouldn't be scripts

+1 for formulas getting some love.

I’ve largely moved away from using scripts for automations because they are so fragile because unlike automations the code doesn’t get updated when you change field names and the code is hidden away and easy to forget unlike formula fields.

That being said, a few use case where formula fields aren’t sufficient and I’ve almost had to result to scripts is for required field validation. I know it’s hard to implement in Fibery but even a soft validation of “if this field is empty make this other field border red” or similar would be nice. Not that you can do it in scripts… I have been tempted to use scripts to send a Slack message or similar notification after some time.

Otherwise up end up with a rather ugly formula like this:

Can’t you do intervals of 12 months already? I believe for one test automation where I wanted it to only ever run once I was able to set it to 88 months.

The most encountered one for me is that adding a thing to a multiple select field (without removing the existing things) requires a script. Can’t even do it as a formula as far as I can tell. It shouldn’t be that complicated.

The other one that would be useful is formulas in the automation filters. So many formula fields that just equate to “does this one automation that runs monthly pick this?” and don’t need to be recalculated every time anything relevant changes.

3 Likes

It seems like you’re talking about the frequency of the automation to run (like if it is running on schedule). I’m talking about a filter for an entity’s field, for example “modification date”. For “is within” there is the option of “the next year”, but for all the other date filters (like “is before” and “is after”) the furthest you can go is “one month ago” or “one month from now”.

Concatenate an encoded URL

I currently use scripts to generate pre-filled Calendly URLs. All the values are in Fibery already but scripts are the only way to encode text.

Automatically set State or Select Fields
I have to use a script to read text fields (from integrations) or extract data from date fields to set the value of State fields and select fields. Examples:

  • convert the Deal Stage from Hubspot Integration to a Fibery State.
  • set the “Quarter” dropdown given the fiscal quarter of the date field in the Payments database
    It would be great if we could set rules for these field types just as we do for relation fields.

Call a webhook/URL

It’d be a significant UX improvement to create a webhook action instead of writing JS to call webhooks.

Using the Outputs of Prior Script Steps

Many low-code builders allow for thew use of scripts within the workflow and setting properties with the UI. Zapier, HubSpot, and Airtable come to mind most easily. Right now, only other script actions can use the outputs from a script action. In practice, we want to update properties, add the outputs to emails or slack messages using the outputs of a script.

1 Like

Hi Antonio, I want to share something that I think would be a fantastic addition - though it’s kind of the opposite of what you’re asking!

There is a script area that could hugely benefit from AI:

If I want to add a button:

If I choose script I get this:

This section doesn’t allow for AI but it would help tremendously and make customers’ experience better and less complex.

Can you clarify this please? Do you want to use AI from this section or create script using AI?

Yes, create/edit script with AI like n8n, pipedream, zaiper do it in similar contexts - getting the aid of ai would be very helpful here.

I more aggressively tried out the ai space building/modifications of Fibery more recently and it’s extremely good.

This is in progress already

3 Likes

+1 for easier http call/webhook emit UI.

4 Likes

@Robert_B Related! 🤖 Feature Request: AI Generation for Scripts

Very glad to hear this is in progress. Any timeline? I know back in Feb this was not any where near on the roadmap.

100% to all of these mentioned. We do the same.

I think POST to webook would be at the top of the list.

We should be able to trigger a webhook and send some or ALL entity data to the webhook.

This is a big missing piece to Fibery actions. We make due with scripts but it is annoying to have to create an entire script just use a button or rule action.

1 Like

I think it would be nice if doing this didn’t require a script, but it’s probably not something that needs to be available in automations, just added (as an option?) to the existing ‘Convert to …’ functionality.

2 Likes

This would be great! We regularly turn meetings into other things, like a reference article or into a new project.

I noticed today that making changes to the rich text field in my wiki database did not update the modification date for the entity. I created a rule that checks a box, uses a script to wait a few seconds, then unchecks the box but it’d be nice to have a setting that lets us include rich text field changes in the calculation.

4 Likes

Awesome if automations can be improved :heart_eyes::heart_eyes::heart_eyes:

High prio for us

Awesome, but lower prio
Since we already found a solution. But would be great if we can simplify our (quite complex) workspace.

Recurring tasks

4 Likes