How do I create a feature service url for survey 123 pull data function
A good resource for this work flow is the blog post from Ismael here:
Survey123 Tricks of the Trade: pulldata("@layer") - Esri Community
To find the feature service URL from the layer you want, on the right hand side of the item details page (Overview) in ArcGIS Online it is right near the bottom under the heading URL.