Directus Labs SEO Plugin - How to bulk trigger Meta Title and Meta Description Generator via Flows or Otherwise

Hello,

I’m referring to the Directus Labs SEO Plugin. How do I “Generate From Template” in bulk via flows or otherwise for the SEO fields?

Jay

Great question. This “Generate From Template” functionality only works from the interface itself, not via Flows or the API.

You could definitely setup a flow that allows you to do this automatically or in bulk, triggered manually.

Hi Bryant,

Are you saying that I would create my own “template” in the flow itself and update the SEO data directly? Or is there a way to trigger the “Generate From Template” functionality directly? I understand that I can write a flow with it’s own template generation scheme but I was wondering if I could trigger this directly and save some time.

Thanks for the help.

Jay

Currently, the “Generate From Template” functionality cannot be triggered anywhere but when using using the SEO Interface inside an item.

So yes, you’d have to create your own Flow with your own logic and update the SEO data directly. You could potentially pull the template string that’s setup from the directus_fieldsyour_seo_field_nameoptions if you really wanted to, but it’d probably be easier just to create the template over again at that point.

I can see value in having a better toolset for updating in bulk.

Mind to open up an issue for this so we can track it?