Match elements module stops the scenario running if there is no match

Hello,

I am having trouble with the match elements module because I want to extract URLs from text however if there is no url, I still want the scenario to continue.

However the match elements module works so that, if there is no match, the module has no output bundles so the scenario just ends.

This is not useful for my use case as sometimes there will be urls and sometimes there wont be (e.g. text may contain no link, may contain make.com or may contain https://make.com)

Is there any way to extract urls from text and if there are no urls, let the scenario continue?

Example input:

[
    {
        "text": "some text",
        "pattern": "##http_urls",
        "requireProtocol": false,
        "specialCharsPattern": null
    }
]

Result is no output bundle

Answering for myself:

There is a radio button on the text parser module that says
‘Continue the execution of the route even if the module finds no matches’

Make sure this is set to ‘On’ and the scenario will continue.

2 Likes