Laminin exposes a RESTful API that can be used to add leads to your Laminin instance from external lead sources such as a contact form on your company website. This article will go into the detail of getting leads from Microsoft Forms into the Laminin platform by using Microsoft Power Automate.
Please note this document uses examples of the non-production environment of Laminin.
Production credentials and endpoints will be supplied upon request.
STEP 1: To get started login to your Office 365 account and open Power Automate. From here, click on the (1) + Create button in the menu on the left or on the Home page.
STEP 2: On the next screen click on (2) Automated cloud flow.
STEP 3: Give your flow a (3) name and in the search bar type in (4) forms to search for Microsoft Forms. Choose (5) When a new response is submitted Microsoft Forms which will be the trigger. Lastly click on (6) Create to create the flow.
STEP 4: The next page is where the flow is configured. In the Form Id field, select your Microsoft Form from the (6) dropdown
STEP 5: Click on (7) New step to add a new item to the flow
STEP 6: In the search field type (8) form and then select (9) Get response details under the Actions tab
STEP 7: Select your form again in the (10) Form Id field and then in the (11) Response Id field select (11) Response Id from the Dynamic content tab.
STEP 8: Click on (12) New step to add a new item to the flow.
STEP 9: In the search bar type in (13) webhook and then select the (14) HTTP item.
STEP 10: On the next screen select the (15) HTTP item under Actions. NOTE: Do not select HTTP + Swagger or HTTP Webhook.
STEP 11: This is the final configuration step and here we configure the HTTP element. For the (16) Method field dropdown select POST. The (17) URI field will be provided by Laminin and will be the external API endpoint of your Laminin instance. The (18) Headers field will be provided by Laminin and will the the API key of your Laminin instance. The (19) Body field will be provided by Laminin and will be a JSON object that maps Campaign fields in Laminin to the fields of your Microsoft form. As an example, the (20) Phone key in the JSON object corresponds to the Phone key in the Laminin campaign and this is mapped to the Phone number value of the Microsoft Form by selecting (20) Phone number from the Dynamic content tab.
STEP 12: The configuration is now completed, you can save your flow and test.
For any questions or additional support, please mail our team at support@lamin.in
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article