I currently have a Zoho Blueprint for a conversion that sends a request to Stripe to create the customer, create and finalize an invoice and then send me the invoice payment link in Slack.
How could I open a popup in the window so the invoice link shows up right in my face in the browser?
I use Chrome.
I guess you are using Zoho CRM.
Solutions:
To implement any of those solutions you should have a field in each record you want to use to open/show the link via the button.
To create & automatically fill this field with Stripe invoice link follow the steps below:
Then you should create the button that will open/show the link you have stored in the field you created.
The next step depends on what you want.
If you want to just show the link, copy the code below to this function:
record = zoho.crm.getRecordById("MODULE_API_NAME", recordId);
s = record.get("FIELD_API_NAME");
return s;
If you want to automatically open the link, copy the code below to this function:
record = zoho.crm.getRecordById("MODULE_API_NAME", recordId);
openUrl(record.get("FIELD_API_NAME"), "new window");
return null;