Sharepoint Designer 2013 Workflow Using REST API

Step 1 : Add a workflow for your list/library.

Add a workflow

Step 2 : Add Build tag using Action menu.

Add Build
Step 3 : Add Accept, ContentType, and Authorization, as a string, as shown below. By clicking Build{…} and adding value as application/json;odata=verbose, you  get the output in JSON format .

Add

Add

Add

Add

Step 4 : Add Call action and click on this. Write REST API call to get the Title of the current site.

Add Call action

Add Call action

Step 5 :Add a variable as a Dictionary Type, for saving your output value .

Add a variable

Add a variable

Step 6 : Add Get action to get the Title value.

Add Get action
Step 7 : Write d/Title for getting value from variable. Log output1 for viewing the Title of current site .

Add Get action
Step 8 : Start the workflow and check the logs.

workflow

workflow

Ebook Download
View all
Learn
View all