Skip to main content

Celonis Product Documentation

Invoice Action Flows
  1. Contact Customer:

    1. Step 1: Add Webhooks (1):

      image27.png
    2. Step 2: Set variables (34):

      1. Click on the set variables (34).

        image6.png
      2. Enter the Team domain name in item 1 field.

      3. Enter the env name in item 2 field.

      4. Enter the App key in item 3 field.

      5. Enter the update account augmented URL in the item 4 field (Open update account augmented attribute action flow Copy webhooks URL and paste ).

        image15.png
        image121.png
      6. Enter write account activity URL in the item 5 field (Open write account activity action flow, copy webhooks URL and paste).

      7. Enter update invoice augmented URL in the item 6 field (Open update invoice augmented action flow, copy webhooks URL and paste).

      8. Enter write invoice activity URL in item 7 field (Open write invoice activity action flow Copy webhooks URL and paste).

      9. Enter the analysisId in item 8 field.

        image96.jpg
      10. Click the OK button.

    3. Step 3: Prepare data list for account (35):

      1. Click on Prepare data list for account (35).

      2. Click the Add button.

        image64.png
      3. Enter the name (Prepare Data List) in the udts.name field.

        image65.png
      4. Click the Add item button.

        image53.png
      5. Enter the Name from the table below in the Name field and select the type.

        Note

        Add all items in the specification one-by-one.

        Name

        Type

        Data

        Array(Select Collection type)

        Name

        Type

        CASE_ID

        text

      6. Click the Save button.

      7. Click the Ok button.

    4. Step 4: Prepare HTTP body for account (36):

      1. Click on the Prepare HTTP body for account (36).

        image133.png
      2. Enter the name (Prepare HTTP body for account) in the udts.name field.

      3. Click the Generate button.

        image22.png
      4. Enter the JSON statement below in the datastores.generator.sample_data field.

        Note

        Select “boolean type” for insertNote and select “number type” for sorting.

        {
        "data":"",
        "noteId":"",
        "note":"",
        "sorting":0,
        "actionName":"",
        "userName":"",
        "currentTimeStamp":"",
        "insertNote":0
        }
      5. Click the Common.generator button.

      6. Click the Save button.

      7. Click the OK button.

    5. Step 5: Prepare Data list for invoice (40):

      1. Click on the Prepare Data list for invoice (40).

        image8.png
      2. Select “Prepare Data List” in the Data structure field.

      3. Click the OK button.

    6. Step 6: Prepare HTTP body for invoice (41):

      1. Click on Prepare HTTP body for invoice (41).

        image140.png
      2. Enter the name (“Prepare HTTP body for invoice”) in the udts.name field.

      3. Click the Generate button.

        image22.png
      4. Enter the JSON statement below in the datastores.generator.sample_data field.

        Note

        Select “boolean type” for insertNote and select “number type” for sorting.

        {
        "data":"",
        "noteId":"",
        "note":"",
        "sorting":0,
        "actionName":"",
        "userName":"",
        "currentTimeStamp":"",
        "insertNote":0
        }
      5. Click the Common.generator button.

      6. Click the Save button.

      7. Click the OK button.

    7. Step 7: Send email to customer (33):

      1. Click on Send email to customer (33).

      2. Click the Add button.

      3. Set connection type.

        image36.png
      4. Click the Save button.

      5. Click the OK button.

    8. Step 8: Create follow up task (20):

      1. Click on the Create follow up task (20).

      2. Select a Connection.

      3. Select a Package and Skill.

        image88.png
      4. Click the OK button.

    9. Step 9: JSON (27):

      1. Click on JSON (27).

        image43.png
      2. Enter the name (Contact customer excel) in the udts.name field.

      3. Click the Generate button.

        image22.png
      4. Enter the Json statement below in the datastores.generator.sample_data field.

        Note

        Select “number” for computationId and select “boolean” for isTransient.

        {
        "exportType": "EXCEL",
        "dataCommandRequest": {
        "request": {
        "commands": [{
        "computationId":
        0,
        "isTransient":
        false,
        "queries": [""]
        }],
        "cubeId": ""
        },
        "variables": [{
        "name": "",
        "type": "",
        "value": ""
        }]
        }
        }

        For more details please refer to Export Excel using Analysis.pdf.

      5. Click the Common.generator button.

      6. Click the Save button.

      7. Click the OK button.

    10. Step 10: Save the action flow.

  2. Promise To Pay:

    1. Step 1: Add Webhooks (1):

      image146.png
    2. Step 2: Set variables (29):

      1. Click on set variables (29)

        image6.png
      2. Enter the Team domain name in the item 1 field.

      3. Enter the env name in the item 2 field.

      4. Enter the App key in the item 3 field.

      5. Enter the update account augmented URL in the item 4 field (Open update account augmented attribute action flow, copy webhooks URL and paste).

      6. Enter the write account activity URL in the item 5 field (Open write account activity action flow, copy webhooks URL and paste).

      7. Enter the update invoice augmented URL in the item 6 field (Open update invoice augmented action flow, copy webhooks URL and paste).

      8. Enter the write invoice activity URL in the item 7 field (Open write invoice activity action flow, copy webhooks URL and paste).

      9. Enter the AF key in the item 8 field.

        image57.png
      10. Enter the KM key in the item 9 field.

      11. Click the OK button.

    3. Step 3: Prepare data list for account (30):

      1. Click on Prepare data list for account (30).

        image114.png
      2. Select “Prepare Data List” in the Data structure field.

      3. Click the OK button.

    4. Step 4: Prepare HTTP body for account (31):

      1. Click on the Prepare HTTP body for account (31).

        image5.png
      2. Select “Prepare HTTP body for account” in the Data structure field.

      3. Click the OK button.

    5. Step 5: JSON for update augmented (35):

      1. Click on JSON for update augmented (35).

        image60.png
      2. Select “JSON for update augmented” in the Data structure field.

      3. Click the OK button.

    6. Step 6: Follow Up Task (13):

      1. Click on Follow up Task (13).

        image48.png
      2. Select a Package.

      3. Select “Create follow up task” in the Skill field.

      4. Click the OK button.

    7. Step 7: Prepare Data list for invoice (40):

      1. Click on Prepare Data list for invoice (40).

        image8.png
      2. Select “Prepare Data List” in the Data structure field.

      3. Click the OK button.

    8. Step 8: Prepare HTTP body for invoice (41):

      1. Click on Prepare HTTP body for invoice (41).

        image13.png
      2. Select “Prepare HTTP body for invoice” in the Data structure field.

      3. Click the OK button.

    9. Step 9: Notify Customer (21):

      1. Click on Send Notify Customer (33).

      2. Click the Add button.

      3. Set the Connection type.

        image36.png
      4. Click the Save button.

      5. Click the OK button.

    10. Step 10: Save the action flow.

  3. Invoice Snooze:

    1. Step 1: Add Webhooks (1):

      image1.png
    2. Step 2: Set variables (46):

      1. Click on Set variables (46).

        image6.png
      2. Enter the Team domain name in the item 1 field.

      3. Enter the env name in the item 2 field.

      4. Enter the App key in the item 3 field.

      5. Enter the update invoice augmented URL in the item 4 field (Open update invoice augmented action flow, copy webhooks URL and paste).

      6. Enter the write invoice activity URL in the item 5 field (Open write invoice activity action flow, copy webhooks URL and paste).

      7. Enter the AF key in the item 6 field.

        image141.png
      8. Enter the KM key in the item 7 field.

      9. Click the OK button.

    3. Step 3: Prepare Data list for invoice (33):

      1. Click on Prepare Data list for invoice (33).

        image8.png
      2. Select “Prepare Data List” in the Data structure field.

      3. Click the OK button.

    4. Step 4: Prepare HTTP body for invoice (45):

      1. Click on Prepare HTTP body for invoice (45).

        image13.png
      2. Select “Prepare HTTP body for invoice” in the Data structure field.

      3. Click on the OK button.

    5. Step 5: JSON for update augmented (51):

      1. Click on JSON for update augmented (51).

        image60.png
      2. Select “JSON for update augmented” in the Data structure field.

      3. Click the OK button.

    6. Step 6: Save the action flow.

  4. Invoice Notes:

    1. Step 1: Add Webhooks (1):

      image79.png
    2. Step 2: Tools (13):

      1. Click on the Tools (13).

        image6.png
      2. Enter the Team domain name in the item 1 field.

      3. Enter the env name in the item 2 field.

      4. Enter the App key in the item 3 field.

      5. Enter update invoice augmented URL in the item 4 field (Open update invoice augmented action flow, copy webhooks URL and paste).

      6. Enter the write invoice activity URL in the item 5 field (Open write invoice activity action flow, copy webhooks URL and paste).

      7. Click on the OK button.

    3. Step 3: Prepare Data list for invoice (14):

      1. Click on Prepare Data list for invoice (14).

        image8.png
      2. Select “Prepare Data List” in the Data structure field.

      3. Click the OK button.

    4. Step 4: Prepare HTTP body for invoice (15):

      1. Click on Prepare HTTP body for invoice (15).

        image13.png
      2. Select “Prepare HTTP body for invoice” in the Data structure field.

      3. Click the OK button.

    5. Step 5: Save the action flow.

  5. Broken Promise To Pay Activity:

    1. Step 1: Tools (12):

      1. Click on Tools (12).

        image6.png
      2. Enter the Team domain name in the item 1 field.

      3. Enter the env name in the item 2 field.

      4. Enter the App key in the item 3 field.

      5. Enter the update invoice augmented URL in the item 4 field (Open update invoice augmented action flow, copy webhooks URL and paste).

      6. Enter the write invoice activity URL in the item 5 field (Open write invoice activity action flow, copy webhooks URL and paste).

      7. Enter the AF key in the item 6 field.

        image82.png
      8. Enter the KM key in the item 7 field.

      9. Click the OK button.

    2. Step 2: Get All Promised invoice (26):

      1. Click on Get All Promised invoice (26).

        image14.png
      2. Select a Connection.

      3. Select a Data Pool.

      4. Select the Data Model.

      5. Click the OK button.

    3. Step 3: Get All Promised invoice (1):

      1. Click on Get All Promised invoice (1).

        image14.png
      2. Select a Connection.

      3. Select a Data Pool.

      4. Select the Data Model.

      5. Click the OK button.

    4. Step 4: Prepare data list (14):

      1. Click on Prepare data list (14).

        image37.png
      2. Click the Add button.

      3. Enter the name (Prepare Data List For Broken Promise) in the udts.name field.

        image65.png
      4. Click the Add item button.

        image53.png
      5. Enter the name from the table below in the Name field and select the corresponding type.

        Note

        Add all items in the specification one by one.

        Name

        Type

        Data

        Array(Select Collection type)

        Name

        Type

        CASE_ID

        text

        PROMISE_AMOUNT

        Number

      6. Click the Save button.

      7. Click the OK button.

    5. Step 5: JSON (28):

      1. Click on JSON (28).

      2. Click the Add button.

        image94.png
      3. Enter the name (Get promise amount) in the udts.name field.

      4. Click the Add item button.

        image65.png
      5. Enter the name from the table below in the Name field and select the corresponding type.

        Name

        Type

        amount

        Array

        Type

        Default

        Number

      6. Click the Save button.

      7. Click the OK button.

    6. Step 6: JSON (17):

      1. Click on JSON (17).

        image60.png
      2. Select “JSON for update augmented” in the Data structure field.

      3. Click the OK button.

    7. Step 7: JSON (21):

      1. Click on JSON (21).

        image13.png
      2. Select “Prepare HTTP body for invoice” in the Data structure field.

      3. Click the OK button.

    8. Step 8: Save the action flow.

  6. Remove Invoice Snooze:

    1. Step 1: Tools (12):

      1. Click on Tools (12).

        image6.png
      2. Enter the Team domain name in the item 1 field.

      3. Enter the env name in the item 2 field.

      4. Enter the App key in the item 3 field.

      5. Enter the write invoice activity URL in the item 4 field (Open write invoice activity action flow, copy webhooks URL and paste).

      6. Enter the AF key in the item 5 field.

        image28.png
      7. Enter the KM key in the item 6 field.

      8. Click the OK button.

    2. Step 2: Get Invoice With Snooze Reminder Date (1):

      1. Click on Get Invoice With Snooze Reminder Date (1).

        image14.png
      2. Select a Connection.

      3. Select a Data pool.

      4. Select the Data model.

      5. Click the OK button.

    3. Step 3: JSON (14):

      1. Click on JSON (14).

        image8.png
      2. Select “Prepare Data List” in the Data structure field.

      3. Click the OK button.

    4. Step 4: JSON (17):

      1. Click on JSON (17).

        image60.png
      2. Select “JSON for update augmented” in the Data structure field.

      3. Click the OK button.

    5. Step 5: JSON (21):

      1. Click on JSON (21).

        image13.png
      2. Select “Prepare HTTP body for invoice” in the Data structure field.

      3. Click the OK button.

    6. Step 6: Save the action flow.

  7. Invoice Snooze Remove:

    1. Step 1: Add Webhooks (12):

      image135.png
    2. Step 2: Set variable (15):

      1. Click on Set variable (15).

        image6.png
      2. Enter the Team domain name in the item 1 field.

      3. Enter the env name in the item 2 field.

      4. Enter the App key in the item 3 field.

      5. Enter the update invoice augmented URL in the item 4 field (Open update invoice augmented action flow, copy webhooks URL and paste).

      6. Enter the write invoice activity URL in the item 5 field (Open write invoice activity action flow, copy webhooks URL and paste).

      7. Enter the AF key in the item 6 field.

        image42.png
      8. Enter the KM key in the item 7 field.

      9. Click the OK button.

    3. Step 3: JSON for update augmented (17):

      1. Click on JSON for update augmented (17).

        image60.png
      2. Select “JSON for update augmented” in the Data structure field.

      3. Click the OK button.

    4. Step 4: Prepare data list for invoice (38):

      1. Click on Prepare data list for invoice (38).

        image8.png
      2. Select “Prepare Data List” in the Data structure field.

      3. Click the OK button.

    5. Step 5: Prepare HTTP body for invoice (39):

      1. Click on Prepare HTTP body for invoice (39).

        image13.png
      2. Select “Prepare HTTP body for invoice” in the Data structure field.

      3. Click the OK button.

    6. Step 6: Save the action flow.