Send real letters from the Internet to anywhere in the world.
# Friday, April 19, 2024

Royal Mail has advised that not all mail was processed to schedule yesterday at it Tyneside Mail Processing Centre. Customers should expect delays in the following areas:

  • Tyneside: Some mail posted in other parts of the UK, due for delivery today in the DH, DL, NE, SR and TS postcode areas.
posted on Friday, April 19, 2024 1:02:53 PM (GMT Daylight Time, UTC+01:00)  #    Trackback
# Wednesday, April 17, 2024

Royal Mail has advised that not al mail was processed to schedule yesterday at the Swansea Mail Processing Centre. Customers should expect delays in the following areas:

  • Swansea Mail Centre: Some mail posted across other parts of the UK, due for delivery in the SA postcode area.

There are also delays to deliveries in the following postcode areas:

  • Golders Green DO (NW11)
  • Wallingford DO (OX10 and OX49)
  • Woodbridge DO (IP12 and IP13)
posted on Wednesday, April 17, 2024 12:49:14 PM (GMT Daylight Time, UTC+01:00)  #    Trackback

Microsoft Power Automate is a process automation platform which makes automating repetitive tasks with little or no code..

If you have a Microsoft 365 subscription you probably already have access to Power Automate. Check your subscription or talk to your Microsoft partner for more details.

You may be able to automate processes such as picking up when addresses are added to a an Excel spreadsheet and then sending a PDF letter to that address that sits in SharePoint or in OneDrive.

You can send your letters to PC2Paper using Power Automate and our RESTFul JSON API by following these steps below.

In the example below we’ve setup a new Flow in Power Automate with a Manual Trigger. We are getting a PDF file to use, using the OneDrive for Business Action. You can use any action you’d like to provide a file for upload.

 PA1

Add the Manual Trigger flow (you can use a different one here depending on the process you are after) and the OneDrive for Business Get File Content Action below it. If there is another Action you’d prefer to use you can use that instead. 

Uploading a PDF

We have used the HTTP Action to upload our PDF file add this below the One Drive for Business Get File Content Action. You can search for it as HTTP in the action search box, you will want the plain HTTP adaptor.

PAHTTPAdaptor

Once added you can rename this adaptor to “Upload File”

PAHTTPUploadFile

Enter the following details

  • Method: Set this to POST
  • Headers: Add the following headers and place your PC2Paper username and password (or API keys) into them
    • username
    • password
  • Queries: Over here you will want to enter “fileName” and in the value field give your file a name. You can enter anything in here and you can populate this from a previous action if you have one.
  • Body: For the body you will want to enter the following JSON

    {
      "$content-type": "multipart/form-data",
      "$multipart": [
        {
          "headers": {
            "Content-Disposition": "form-data: name=\"file[data]\";filename=\"testfile.pdf\""
           },
          "body": @{body('Get_file_content')}
        }
      ]
    }

    Where you see this tag @{body('Get_file_content')} you will want to drag in the content from the OneDrive Action that ran before this action. You select this from the little lightening bolt that appears next to the Body text box when you click in it.

    OneDriveAction

Parse the results from the PDF Upload

After you have completed the previous step you will want to add a “Parse JSON” action. We will use this to parse the JSON returned by the upload file action.

ParseJSON

Schema: Enter the following text into the schema box.

{
    "type": "object",
    "properties": {
        "fileGuid": {
             "type": "string"
        },
        "pages": {
            "type": "integer"
        }
     }
}

Content: Select the content box and then select the lightening bolt that appears next to it and select (as per the image above) the Body field from the Upload File step you did previously.

Submit Letter

Now for the final Action

SubmitLet

Add another HTTP Action after the “Parse JSON” Action.

Enter the following details

  • Method: Select POST
  • Body: This is the same JSON example used in our JSON API example found here. Insert the below JSON into the body text

    {
      "letterForPosting": {
        "SourceClient": "Power Automate",
        "Addresses": [
          {
            "ReceiverName": "John Smith",
            "ReceiverAddressLine1": "1 Acme Road",
            "ReceiverAddressLine2": "My Street",
            "ReceiverAddressTownCityOrLine3": "Town",
            "ReceiverAddressCountyStateOrLine4": "County",
            "ReceiverAddressPostCode": "Postcode"
          }
        ],
        "ReceiverCountryCode": 1,
        "Postage": 31,
        "Paper": 1,
        "Envelope": 1,
        "Extras": 0,
        "LetterBody": "Dear John, Please find my letter attached",
        "IncludeSenderAddressOnEnvelope": true,
        "SenderAddress": "22 Acme Acres\n Acme Town",
        "YourRef": "MyRef001",
        "FileAttachementGUIDs": [
          "@{body('Parse_JSON')?['fileGuid']}"
        ]
      },
      "username": "username here",
      "password": "password here"
    }

    Important:
    Ensure you changing the following in the JSON. You can read more about these fields here

    username and password: Make sure you update these with your own this can also be your API key and API secret
    FileAttachementGUIDs: For this you want to replace @{body('Parse_JSON')?['fileGuid']} with “Body fileGuid” from your Parse JSON action

    BodyFileGuid

    Note you can find out more about postage options and country codes in the documentation found here. The postage codes can be found using our postal calculator for a quick lookup

Conclusion

That’s it. Please remember to always test your integration signing up for a free test account on https://test.pc2paper.co.uk you can top up your free test account with the following card number 5555558265554449 (this is not a real card number as it is a test environment), use made up details for the rest of the top-up process. You can then see if the letters you send come through to your test account. Remember to change the test endpoints to our live server when you are done by changing https://test to https://www .

posted on Wednesday, April 17, 2024 8:30:11 AM (GMT Daylight Time, UTC+01:00)  #    Trackback
# Wednesday, April 10, 2024

Royal Mail has advised that the following areas are currently experiencing delays to deliveries:

  • Bow DO (E3)
  • Framlingham SPDO (IP13)
  • Kitts Green DO (B33 and B34)
  • Saxmundham DO (IP17)
  • Selsey SUDO (PO20)
  • Ulverston DO (LA12)
  • Wallingford DO (OX10 and OX49)
  • Woodbridge DO (IP12 and IP13)

Customers should expect mail to take longer than normal in these areas.

posted on Wednesday, April 10, 2024 1:28:06 PM (GMT Daylight Time, UTC+01:00)  #    Trackback
# Tuesday, April 9, 2024

Royal Mail have advised that not all mail was processed to schedule yesterday at the Nottingham Mail Centre. The following areas will be subject to delays:

  • Nottingham: Some mail posted yesterday in the DE and NG postcode area, due for delivery today in other parts of the UK.

Royal Mail have also advised that the following areas are subject to delivery delays due to local issues:

  • Bow DO (E3)
  • Framlingham SPDO (IP13)
  • Kitts Green DO (B33 and B34)
  • Saxmundham DO (IP17)
  • Selsey SUDO (PO20)
  • Ulverston DO (LA12)
  • Wallingford DO (OX10 and OX49)
  • Woodbridge DO (IP12 and IP13)
posted on Tuesday, April 9, 2024 9:45:57 AM (GMT Daylight Time, UTC+01:00)  #    Trackback
# Monday, April 8, 2024

Royal Mail has advised that not all mail was processed to schedule yesterday at its Swansea Mail Processing Centre. Customers should expect delays in the following area:

  • Swansea: Some mail posted in the SA postcode area, due for delivery in other parts of the UK.

In Addition to the above Royal Mail have advised that the following areas are currently experiencing delays to deliveries due to local issues:

  • Framlingham SPDO (IP13)
  • Kitts Green DO (B33 and B34)
  • Saxmundham DO (IP17)
  • Selsey SUDO (PO20)
  • Ulverston DO (LA12)
posted on Monday, April 8, 2024 10:59:31 AM (GMT Daylight Time, UTC+01:00)  #    Trackback
# Friday, April 5, 2024

Royal Mail has advised that not all of its Mail Processing Centres were able to process all mail to schedule yesterday. The following areas are currently subject to delays:

  • Aberdeen: Some mail posted in other parts of the UK, due for delivery today in the AB and ZE postcode areas.
  • Gatwick: Some mail posted in the BN and RH postcode areas, due for delivery today in other parts of the UK.
  • London Central: Some mail posted in the EC, N, W1 and WC postcode areas, due for delivery today in other parts of the UK.
  • South Midlands: Some mail posted in the CV, LE, MK and NN postcode areas, due for delivery today in other parts of the UK.

In addition to the above the following areas are currently subject to delivery delays due to local issues:

  • Framlingham SPDO (IP13)
  • Saxmundham DO (IP17)
  • South Croydon DO (CR2)
posted on Friday, April 5, 2024 12:43:42 PM (GMT Daylight Time, UTC+01:00)  #    Trackback
# Thursday, April 4, 2024

Royal Mail have advised that the following Mail Processing Centres were not able to process all mail to schedule yesterday. The following postcode areas are currently subject to delays:

  • Bristol: Some mail posted in the BA, BS, GL and TA postcode areas, due for delivery today in other parts of the UK.
  • Home Counties North: Some mail posted in the AL, EN, HP, LU, SG AND WD postcode areas, due for delivery today in other parts of the UK.
  • Inverness: Some mail posted in other parts of the UK, due for delivery today in the HS, IV and KW postcode areas.

In addition to the above delivery delays have been reported in the following postcode areas:

  • South Croydon DO (CR2)
posted on Thursday, April 4, 2024 9:21:29 AM (GMT Daylight Time, UTC+01:00)  #    Trackback
# Wednesday, April 3, 2024

Royal Mail have advised that the following mail centres did not process all mail to schedule yesterday. The following areas are currently subject to delays:

  • Bristol: Some mail posted in the BA, BS, GL and TA postcode areas, due for delivery today in other parts of the UK.
  • Chelmsford: Some mail posted in the CM, CO and SS and TA postcode areas, due for delivery today in other parts of the UK.
  • Romford: Some mail posted in other parts of the UK, due for delivery today in the E, IG and RM postcode areas.
  • Warrington: Some mail posted in the CW, L, WA and WN and TA postcode areas, due for delivery today in other parts of the UK.
posted on Wednesday, April 3, 2024 10:05:00 AM (GMT Daylight Time, UTC+01:00)  #    Trackback

We are currently seeing delays at the Medway Mail Processing Centre through which all of mail has to pass once its collected from us. Currently all mail processed on Tuesday the 2nd of April has been passed to Royal Mail as normal, however, it has not yet been scanned into the hub at the Medway Mail Centre. This delay is currently affecting all tracked items posted on Tuesday the 2nd of April.

posted on Wednesday, April 3, 2024 9:34:56 AM (GMT Daylight Time, UTC+01:00)  #    Trackback