I am trying to create a Quick Action by using a "Run Shell Script" followed by "Run AppleScript"

I am not having any success creating a Quick Action by using a “Run Shell Script” followed by “Run AppleScript”

Can this be done ?

Yes it can be done. Since quick actions are typically built in Automator, the key would be ensuring that if you require any parameters that these are correctly passed to the subsequent step in the Automator flow.

As an aside, note that you can also execute such scripts from within one another.

Many thanks !!! looks like I missed something.