Parse any Google Drive link to get folder ID

You can use a Text Parser “Match Pattern” module with this pattern (regular expression):

(?<=(?:d|folders)\/|id=)(?<id>[^\/?&\s]+)

Proof https://regex101.com/r/pTNNUE/2

Important Info

  • :warning: Global match must be set to NO!

For more information, see the Text Parser page in the Make Help Center:

Match Pattern
The Match pattern module enables you to find and extract string elements matching a search pattern from a given text. The search pattern is a regular expression, which is a sequence of characters in which each character is either a metacharacter, having a special meaning, or a regular character that has a literal meaning.

Alternatively, you can possibly use a few built-in functions to save an operation:

Hope this helps! If you are still having trouble, please provide more details.

@samliew