Help

Save the date! Join us on October 16 for our Product Ops launch event. Register here.

Re: Markdown output error in automation

2 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Javier_Plaza_Go
4 - Data Explorer
4 - Data Explorer

Hi guys. 

Im quite new at automations and scripting. 

I have been trying to set a an automation that filters records under specific conditions and then opens an URL contained on a field of that record. I have learnt that this is not possible through Airtable, so im also working through Make to achieve it, but its not being easy for me either. But i have seen another  possible solution: Open it through a clickable link in markdown. 

So im trying to write a script in other to do so. The input is already set up, but when i try with output, it doesnt work. 

This is what i have writen so far: 

 

Javier_Plaza_Go_0-1728713373574.png

And this is the error i get:

Javier_Plaza_Go_1-1728713407216.png

Could some some help me a little bit?

Thanks. 

6 Replies 6
dilipborad
9 - Sun
9 - Sun

Hello @Javier_Plaza_Go 
First of all you need to know some of the basics of how airtable scripting is works.

There are 2 ways you can run scripts on airtable.
1. Automation scripting block
2. Extension Scripting

An automation's scripting action runs a script in the background of the base. This differs from the Scripting extension, which runs a script in the foreground. For scripts that you would rather run manually, the Scripting extension is the ideal tool.

While you run the Automation script it's run on the Airtable server and the Extension script is run on our browser.

The automation script is run(called) automatically while the extension script always needs to run manually.

There are some limits and advantages to using both of them based on it's use case.
👍

That's only available in the scripting extension; check out the docs here: https://airtable.com/developers/scripting/api/output#markdown

Screenshot 2024-10-13 at 4.20.07 PM.png
---
There's a lot going on in your post and I think you might be going down the wrong path?  If you could explain what you're trying to do exactly we might be able to provide advice on how you could try to achieve it, be it through automations or Make etc

Ok, understood. 

Basicaly I´m trying to set up a button which checks conditions on records, and then open an URL on the browser, or markdown link, contained on those records, on a field. I have been trying to set a Make Automation, but its quite difficult, even to send a Google notification.  

Thanks a lot. 

When you say "open a URL", you mean you want the user to be brought to this URL?  Or does this URL activate a webhook or something?

I mean the user to be brought to the URL in the browser. 

Ah, that's not possible via an Airtable automation or scripting extension I'm afraid.  Your best bet would be to use a Make webhook for this; the webhook would trigger the scenario and do the filtering actions you mentioned, then you'd use the "Webhook Response" module to do a redirect to the URL the previous modules found