> ## Documentation Index
> Fetch the complete documentation index at: https://signatureapi-daf4ee54.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Sending Contracts via SMS with Twilio, SharePoint List, SignatureAPI, and Power Automate

> Send signing links via SMS using Twilio when new SharePoint list items are created

## Overview

This tutorial shows you how to automate employment contract signing by sending contracts via SMS with **Twilio** when a new **SharePoint List** item is created. By integrating **SharePoint List** (for storing employee details), the **SignatureAPI connector** (for electronic signatures), **Twilio** (for sending SMS with the signing link), **Outlook** (for notifying HR when the contract is signed), and **Power Automate** (for orchestrating the workflow), you can eliminate manual errors and reduce delays in onboarding new employees.

### What You'll Learn

* How to trigger a flow when a new SharePoint List item is created.
* How to retrieve and pre-fill a DOCX contract template with employee details.
* How to create and send a signature envelope via SMS using SignatureAPI and Twilio.
* How to monitor the signing process and retrieve the signed document.
* How to save the signed contract and notify HR automatically.

### The Problem

HR departments often struggle with manually handling contracts, causing delays in onboarding. Common issues include:

* **Slow processing:** Manual tasks create bottlenecks.
* **Errors:** Mistakes from manual data entry.
* **Tracking difficulty:** Challenges in monitoring signing status.

### How Automation Helps

Automation simplifies this process by:

* Automatically sending contracts to employees via SMS.
* Using templates pre-filled with employee details.
* Tracking signature status and storing documents automatically.
* Informing HR instantly once contracts are signed.

## Requirements

Before starting, make sure you have:

* **Power Automate** for building workflows.
* **SignatureAPI account** for electronic signatures.
* **Twilio account** for sending SMS (make sure you have a phone number that can send SMS).
* **SharePoint List** for storing employee details.
* **Outlook** for sending notifications (other email providers also work).

## Flow Overview

The automation process follows these steps:

1. **Trigger:** A new SharePoint List item starts the flow.
2. **Data Retrieval:** Get employee details and fetch the contract template from SharePoint.
3. **Signature Process:** Create an envelope via SignatureAPI, add recipient details, and attach the contract template.
4. **SMS Delivery:** Create a ceremony when the recipient is released, then send an SMS with the signing link via Twilio.
5. **Monitoring:** Wait for the contract to be signed.
6. **Storage and Notification:** Save the signed document in SharePoint and notify HR via email.

This use case has three flows:

1. SharePoint List flow

<img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/completed-flow-1.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=44922b3fc5b9213f3516b1ad0cfe9d8d" alt="Sharepoint List flow" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/completed-flow-1.png" />

2. Send SMS flow

<img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/completed-flow-2.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=1da30732fca13787152064dd6d5ddfff" alt="Send SMS flow" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/completed-flow-2.png" />

3. Monitoring flow

<img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/completed-flow-3.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=28fa43f85a1eec26982b204db03c9986" alt="Monitoring flow" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/completed-flow-3.png" />

## Step-by-Step Tutorial

Follow these steps to automate your employment contract process using SharePoint List, SignatureAPI, Twilio, and Power Automate.

### Step 1: Prepare the Contract Template

First, create or update your employment contract template by adding placeholders for dynamic fields (employee details) and defining where the employee will sign.

**To prepare your template:**

1. Open your existing employment contract document (DOCX format) in Microsoft Word.
2. Identify each place where employee details should be dynamically inserted (e.g., first name, last name, email).
3. Insert placeholders using **double curly brackets** around descriptive keys. Examples:

* Employee first name: `{{employee.first_name}}`
* Employee last name: `{{employee.last_name}}`
* Employee email: `{{employee.email}}`

4. Define the location for the signature clearly by inserting a signature placeholder using **double square brackets**, e.g.: `[[employee_signature]]`

**Example placeholder usage in your document:**

> *Dear `{{employee.first_name}}` `{{employee.last_name}}`,*
> *Please review and sign your employment contract below:*
> `[[employee_signature]]`

5. Save your template.

<Note>
  Ensure placeholder keys match exactly with what you will use later in Power Automate. Keep your template simple and clear to avoid confusion during dynamic insertion.
</Note>

<img src="https://mintcdn.com/signatureapi-daf4ee54/-zNb44iNHnnmKMui/docs/integrations/power-automate/guides/images/word/employee-template.png?fit=max&auto=format&n=-zNb44iNHnnmKMui&q=85&s=6961df61bf635affe19dbe547936fdfa" alt="Word Template Example" width="2880" height="1800" data-path="docs/integrations/power-automate/guides/images/word/employee-template.png" />

### Step 2: Create the SharePoint List

Create a SharePoint List to store employee details.

1. Visit [Microsoft Lists](https://www.microsoft.com/en-us/microsoft-365/microsoft-lists) and sign in.

2. Click **New List**, then click **Blank List**.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/-zNb44iNHnnmKMui/docs/integrations/power-automate/guides/images/sharepoint-list-twilio/new-blank.png?fit=max&auto=format&n=-zNb44iNHnnmKMui&q=85&s=ebfaaa1183dabbe18c1c5d2045e266d2" alt="New List" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/sharepoint-list-twilio/new-blank.png" />

3. Rename the list and save it to the SharePoint Site.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/-zNb44iNHnnmKMui/docs/integrations/power-automate/guides/images/sharepoint-list-twilio/create.png?fit=max&auto=format&n=-zNb44iNHnnmKMui&q=85&s=a5fd07352443c02a6d3111b2cf220f1f" alt="Rename List" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/sharepoint-list-twilio/create.png" />

4. Add the following columns:

* **First Name** (Text)
* **Last Name** (Text)
* **Email Address** (Text)
* **Phone** (Text)
* **RecipientId** (Text)

  <img src="https://mintcdn.com/signatureapi-daf4ee54/-zNb44iNHnnmKMui/docs/integrations/power-automate/guides/images/sharepoint-list-twilio/add-column.png?fit=max&auto=format&n=-zNb44iNHnnmKMui&q=85&s=a58009ab441a1c869104ce03cb85bf9c" alt="Add Columns" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/sharepoint-list-twilio/add-column.png" />

  <img src="https://mintcdn.com/signatureapi-daf4ee54/-zNb44iNHnnmKMui/docs/integrations/power-automate/guides/images/sharepoint-list-twilio/rename-column.png?fit=max&auto=format&n=-zNb44iNHnnmKMui&q=85&s=e1adb7594c8d711bbbf5eae4727315f6" alt="Add Columns" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/sharepoint-list-twilio/rename-column.png" />

5. Save and publish the list.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/-zNb44iNHnnmKMui/docs/integrations/power-automate/guides/images/sharepoint-list-twilio/final-table.png?fit=max&auto=format&n=-zNb44iNHnnmKMui&q=85&s=50bebb2ba27e5dfee5596ce68be662c3" alt="Save List" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/sharepoint-list-twilio/final-table.png" />

### Step 3: Set Up the Power Automate Flow

Now, create the automated workflow in Power Automate. This flow triggers whenever a new item is added to the SharePoint List.

#### 3.1 Configure the Trigger

1. Go to **Power Automate** and select **Automated Cloud Flow**.

2. Name your flow, select **When an item is created** from the SharePoint connector, then click **Create**.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/trigger-1.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=38e8ffe768f80c8b52d4992481b7cb25" alt="Trigger" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/trigger-1.png" />

3. Select the Site Address and the list you created earlier.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/select-list.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=5ead0e6943fff8eb1dd61d0f50dfa495" alt="Select List" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/select-list.png" />

#### 3.2 Get File Content

1. Add the **Get file content using path** action from the SharePoint connector.
2. Select the document from SharePoint Documents.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/get-file.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=a14a48d6c8c922cc1686ab0ea9857c9f" alt="Get file content" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/get-file.png" />

### Step 4: Set Up the Signature Process

In this step, you will configure SignatureAPI to create, send, and track the signature process.

#### 4.1 Create a SignatureAPI Envelope

Begin by creating an envelope to hold your contract and signature process.

1. Add the **Create an Envelope** action (SignatureAPI connector).
2. If prompted, authenticate your connection using your SignatureAPI key from the [SignatureAPI Dashboard](https://dashboard.signatureapi.com/settings/api-keys).
3. Set an **Envelope Title** (e.g., employee first name) and a message using dynamic content.
4. From the advanced options, set the **Envelope Topics** to `twilio_agreement`. This allows you to filter the other flows by this topic. You can use any string you want.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/create-envelope.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=39ea4224af145c17a72a7ca6721421bf" alt="Create envelope" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/create-envelope.png" />

#### 4.2 Add the Recipient

Next, specify who will receive and sign the contract.

1. Add the **Add Recipient** action from the SignatureAPI connector.
2. Map **Recipient Name** and **Recipient Email** using dynamic content from the SharePoint List item.
3. Set the **Recipient Key** (e.g., `employee`), matching your DOCX placeholders.
4. From the advanced options, set **Recipient Ceremony Creation** to `manual`. This allows you to create a ceremony later in the flow.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/add-recipient.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=16c11af47f28c75b56e325ab6802c603" alt="Add recipient" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/add-recipient.png" />

#### 4.3 Update the SharePoint List Item with the Recipient ID

1. Add the **Update item** action from the SharePoint connector.
2. Select the Site Address and the list you created earlier.
3. Select the Item ID from the previous step with dynamic content.
4. Set the **RecipientID** to the **RecipientID** from the **Add Recipient** action.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/update-item.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=190c3b1c01d60c24767e9cc7df3120d1" alt="Update item" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/update-item.png" />

#### 4.4 Attach the DOCX Contract Template

Now, attach your contract template to the envelope and populate it with employee details.

1. Add the **Add a Template (DOCX)** action.
2. Select **File Content** from the **Get file content using path** action.
3. Select the Envelope ID from the **Create an Envelope** action.
4. Set the **Document Title** (e.g., "Employment Contract").
5. Ensure your DOCX template uses placeholders (`{{employee.first_name}}`, etc.) and map each field to the corresponding dynamic content.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/add-document.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=759465f5dce8da721cf200ec7db05e63" alt="Add template" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/add-document.png" />

#### 4.5 Define Signature Placement

Specify where the employee should sign on the document.

1. Add the **Add a Place (Signature)** action.
2. Set the **Document ID** using dynamic content.
3. Use the placeholder (e.g., `[[employee_signature]]`) from your DOCX template.
4. Set the **Recipient Key** using dynamic content.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/add-signature.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=7574c67bac2835f1b73365e035970a45" alt="Add signature" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/add-signature.png" />

#### 4.6 Start the Signing Process

Trigger the sending of your envelope to the employee for signing.

1. Add the **Start Envelope** action from the SignatureAPI connector.
2. Select the appropriate **Envelope ID** using dynamic content.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/start-envelope.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=20820b5e43387972102e8b42dec7d2cd" alt="Start envelope" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/start-envelope.png" />

### Step 5: Create the Ceremony and Send SMS

Create a second Power Automate flow that triggers whenever a recipient is released from the SignatureAPI connector.

#### 5.1 Configure the Trigger

1. Go to **Power Automate** and select **Automated Cloud Flow**.
2. Select **When a recipient is released** from the SignatureAPI connector.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/trigger-2.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=d43720186b7810dd31d985c3ab34431c" alt="Trigger" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/trigger-2.png" />

#### 5.2 Filter by Envelope Topic

1. In the trigger, set **Topics** to `twilio_agreement`. This ensures the flow only runs for envelopes created with this topic.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/recipient-released-topics.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=c31d6f2aec46f9f904fc222ae2ab4a40" alt="Filter array" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/recipient-released-topics.png" />

#### 5.3 Get SharePoint List Items by Recipient ID

1. Add the **Get Items** action from the SharePoint connector.
2. Select the Site Address and the list you created earlier.
3. From the advanced options, set the **Filter Query** to `RecipientId eq 'Recipient ID'` (where `Recipient ID` is the value from the trigger's dynamic content). Also set the **Top Count** to `1`.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/get-items.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=baf092daf7d5c0f19b2db96350f9e619" alt="Get items" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/get-items.png" />

#### 5.4 Get Item by ID

1. Add the **Get Item** action from the SharePoint connector.
2. Select the Site Address and the list you created earlier.
3. In the **Id** field, insert an expression to get the Item ID from the previous step. Use this expression:

   ```
   first(body('Get_items')?['value'])?['ID']
   ```

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/get-item.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=31e7d7136fff682c2abe247ef66504b3" alt="Get item" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/get-item.png" />

#### 5.5 Create Ceremony

1. Add the **Create a ceremony (Custom Authentication)** action from the SignatureAPI connector.
2. In the **Authentication Provider** field, set the name of the SharePoint list you are using (e.g., "Super App Tutorial").
3. In the **Authentication Data**, add the following fields:
   * **Authentication Method:** SMS
   * **Phone Number:** The recipient's phone number (selected from the SharePoint List item via dynamic content)
4. Set the **Recipient ID** from the dynamic content.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/create-ceremony.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=b2d391826dce82c514d06f7d3cbf853b" alt="Create ceremony" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/create-ceremony.png" />

#### 5.6 Send SMS

1. Add the **Send Text Message (SMS)** action from the Twilio connector.
2. Set **From** to your Twilio phone number.
3. Set **To** to the recipient's phone number.
4. Set **Message** to include the ceremony URL from the dynamic content.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/send-sms.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=e130ff4326fa1d390a7ec3df6dc9e0c2" alt="Send SMS" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/send-sms.png" />

### Step 6: Monitor and Finalize the Contract

Create a third Power Automate flow that triggers whenever a deliverable is generated from the SignatureAPI connector. This flow retrieves the signed contract, saves it to SharePoint, and notifies HR.

#### 6.1 Configure the Trigger

1. Go to **Power Automate** and select **Automated Cloud Flow**.
2. Select **When a deliverable is generated** from the SignatureAPI connector.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/trigger-3.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=944dbd30c75f6d3bf26d0039ff93a5a2" alt="Trigger" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/trigger-3.png" />

#### 6.2 Filter by Envelope Topic

1. In the trigger, set **Topics** to `twilio_agreement`. This ensures the flow only runs for envelopes created with this topic.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/deliverable-generated-topics.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=4b0bdc50660737b6fd92100707b3eba3" alt="Filter array" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/deliverable-generated-topics.png" />

#### 6.3 Retrieve the Signed Contract

Once the contract is signed, automatically retrieve the completed document.

1. Add the **Get a Deliverable** action from the SignatureAPI connector.
2. Select the correct **Deliverable ID** using dynamic content.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/get-deliverable.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=185a92c80a659ab77a2b0e7652afd54a" alt="Get deliverable" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/get-deliverable.png" />

#### 6.4 Save the Signed Contract to SharePoint

Save the signed document for record-keeping.

1. Add the **Create File** action (SharePoint connector).
2. Select the **Site Address** and **Folder Path**.
3. Set the **File Name** (ending in `.pdf`).
4. Map **File Content** from the deliverable.

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/save-file.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=c62dca78d3249325ef972b6c031ed3be" alt="Save file" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/save-file.png" />

#### 6.5 Notify HR via Email

Automatically inform HR that the contract has been signed and saved.

1. Add the **Send an Email** action (Outlook connector).
2. Configure the email recipient (HR), subject, and message.
3. Attach the signed contract file from dynamic content. Use the **File Content** from the **Get a Deliverable** action and set the filename (ending in `.pdf`).

   <img src="https://mintcdn.com/signatureapi-daf4ee54/ZfkTZ_zxTjrT-fR3/docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/send-email.png?fit=max&auto=format&n=ZfkTZ_zxTjrT-fR3&q=85&s=2603e2e1f1f6f89a06a5936e8ade8c0f" alt="Send email" width="2880" height="1624" data-path="docs/integrations/power-automate/guides/images/powerautomate/sharepoint-list-twilio/send-email.png" />

### Step 7: Test Your Automation

Finally, test the entire process end-to-end.

1. Save all three Power Automate flows.
2. Create a new item in the SharePoint List.
3. Verify the following:

* The ceremony is created successfully.
* The SMS is sent to the employee.
* The employee receives the SMS and signs the contract.
* The signed contract saves successfully in SharePoint.
* HR receives an email notification with the signed contract attached.

*Use the following checklist:*

* [ ] Ceremony is created successfully.
* [ ] SMS is sent to the employee.
* [ ] Employee receives the SMS and signs the contract.
* [ ] Signed document stored correctly in SharePoint.
* [ ] HR receives email notification with attachment.

## Troubleshooting & FAQ

### Common Issues

* **API Key Errors:** Ensure your SignatureAPI key is correct and authenticated.
* **Dynamic Content Mapping:** Double-check that placeholder names in your DOCX file match exactly with the dynamic content mappings in Power Automate.
* **File Access Issues:** Verify permissions and file paths in SharePoint.
* **SMS Not Received:** Confirm your Twilio phone number is SMS-enabled and the recipient's phone number is in the correct format.
* **Ceremony Not Created:** Verify that the **Recipient Ceremony Creation** is set to `manual` in the **Add Recipient** action, and that the recipient ID is correctly stored in the SharePoint List.

## Additional Resources

* [SignatureAPI Documentation](https://signatureapi.com/docs)
* [Microsoft SharePoint List Documentation](https://www.microsoft.com/en-us/microsoft-365/microsoft-lists)
* [Twilio Documentation](https://www.twilio.com/docs)
* [Power Automate Community](https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity)

## Conclusion

By completing this tutorial, you have successfully automated the process of sending contracts for signature via SMS using Twilio, SignatureAPI, and Power Automate. This workflow ensures employees receive signing links directly on their phones, speeding up the contract process.

**Happy Automating!**
