The URL file generator accepts a string as its options, containing a valid URL. This generator downloads the file at that URL, returning the results.
Downloaded files may be a maximum of 20 megabytes, even when used within other file generators (like ZIP).
This file generator accepts a string containing a valid HTTP or HTTPS URL. It does not support any other options.
{
"url": URL
}
{% tabs %} {% tab title="Liquid" %}
{% raw %}
{% action "files" %}
{
"image_from_url.png": {
"url": "https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"
}
}
{% endaction %}
{% endraw %}
{% endtab %}
{% tab title="JSON" %}
{
"action": {
"type": "files",
"options": {
"image_from_url.png": {
"url": "https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"
}
}
}
}
{% endtab %} {% endtabs %}