i didn’t do that myself. but i think in your workflow you must create a credential first and the next node create the workflow with created credential.
I am unable to understand how can i get the json for this? i have refer to the documents you provided. if possible can we have a 10 min call? or something like that .
Because mostly i am using http request nodes for booking , can i map that directly inside that json or what it the other way for doing this using create a credential node
To find the type, download your workflow as JSON and examine it. For example, for a Google Drive node the {credentialTypeName} is googleDriveOAuth2Api:
How could i obtain credential type and the schema for Data Field?
first i add a Send Email Node to a dummy workflow and copy node and paste it in a text file and inspect the json. in the json object, there is a credentials key
in the credentials object in above json there is key, that key is the Credential Type, in this example it is smtp
so i found the Credential Type, How can i figure out the schema for Data field for “create credential form”?
but see now i am using gmail trigger , so credential will always be same , after adding the credentials we get this button and after signing with the gmail account our workflow starts. So is there any possibility of doing this.
This is what the json for gmail trigger shows, so the id under gmailOAuth2 is the id of the gmail account connected? And if yes how can i do it after adding the sign in with gmail button on my site